T 657 Capital Gains Deduction

Does anyone have experience filling in the carry forward information in the top of the T657? It seems that the chart at the top of T657 is the source of the information, but it asks for input based on the answer that gets filled in on Chart 1 at the bottom of the form. That seems backwards to me.

Is there anyway to populate this information from the auto fill data ?