D
Dkline
I am using Goak Seek in a macro to calculate the interest rate needed on a
cash flow to hit a known amount. Below shows the problem I'm having in some
of the 60 columns I'm using. Evetually this will be 121 columns.
In each year I need to find the ROR such that the sum of each year's Cash
Flow at the ROR to the power of the number of years remaining equals the
Target Amount. In the first row is the "To Value" AKA the "Set Cell". The
second row is the "guess" for the rate. Goal Seek will be using that as the
"By Changing Cell". The last number at the bottom of the colum is the sum of
the Cash Flow at Interest. Each cash flow in a column is being calculated as:
Cash Flow * ((1 + Current Year) ^ Remaining Years
In the three examples below, the first and third are fine. The question is
why does the middle one go haywire? Is there a better method than Goal Seek
for this?
Year 17 `````````Year 18 Year 19
1,171,483.02 1,198,769.86 1,230,301.72 <Target Amount
3.0962873% -222.3366976% 4.9282072% <Goal Seek's Answer
17347.29485 389154.3337 25766.36287
16826.30413 -318101.0616 24556.18329
16320.96031 260020.965 23402.84271
15830.79346 -212545.3524 22303.67157
15355.34778 173738.017 21256.12566
14894.18114 -142016.2718 20257.78028
14446.8647 116086.403 19306.3246
14012.9825 -94890.9079 18399.55635
13592.13107 77565.36655 17535.37666
13183.91906 -63403.18815 16711.78526
5286.023088 21423.07939 6583.519821
4478.854835 -15296.99417 5480.836563
3668.8139 10559.68761 4411.195657
2858.200063 -6932.729974 3376.556616
2005.303756 4099.001722 2327.621458
1158.544046 -1995.706888 1321.281967
216.5022034 314.2916191 242.6029359
1171483.021 990.9272504 -891.8042216
1198769.86 -2046.10004
1230301.72
<sum of column
cash flow to hit a known amount. Below shows the problem I'm having in some
of the 60 columns I'm using. Evetually this will be 121 columns.
In each year I need to find the ROR such that the sum of each year's Cash
Flow at the ROR to the power of the number of years remaining equals the
Target Amount. In the first row is the "To Value" AKA the "Set Cell". The
second row is the "guess" for the rate. Goal Seek will be using that as the
"By Changing Cell". The last number at the bottom of the colum is the sum of
the Cash Flow at Interest. Each cash flow in a column is being calculated as:
Cash Flow * ((1 + Current Year) ^ Remaining Years
In the three examples below, the first and third are fine. The question is
why does the middle one go haywire? Is there a better method than Goal Seek
for this?
Year 17 `````````Year 18 Year 19
1,171,483.02 1,198,769.86 1,230,301.72 <Target Amount
3.0962873% -222.3366976% 4.9282072% <Goal Seek's Answer
17347.29485 389154.3337 25766.36287
16826.30413 -318101.0616 24556.18329
16320.96031 260020.965 23402.84271
15830.79346 -212545.3524 22303.67157
15355.34778 173738.017 21256.12566
14894.18114 -142016.2718 20257.78028
14446.8647 116086.403 19306.3246
14012.9825 -94890.9079 18399.55635
13592.13107 77565.36655 17535.37666
13183.91906 -63403.18815 16711.78526
5286.023088 21423.07939 6583.519821
4478.854835 -15296.99417 5480.836563
3668.8139 10559.68761 4411.195657
2858.200063 -6932.729974 3376.556616
2005.303756 4099.001722 2327.621458
1158.544046 -1995.706888 1321.281967
216.5022034 314.2916191 242.6029359
1171483.021 990.9272504 -891.8042216
1198769.86 -2046.10004
1230301.72
<sum of column