I'm calculating the future value of annuities with several variables, so the FV function isn't an option.
This formula gives me the expected value at the end of the term:
=H6*((1+$G$1)^C6)-$I6*(((1+$G$1)^C6)-1)/$G$1)
In this formula, C6 is the number of years. The math works when the number stays positive, but when it goes negative I need to change the formula.
So for those that go below zero, I need to know at what point it crosses zero. In other words, I need to count the years above zero using the above formula.
Please attach a sample file using non-confidential (but realistic) data to illustrate your problem.
It would help if you include some examples where your formula does, and where it doesn't work, with the expected result entered manually for the latter examples.
I've attached a sample file that shows my problem.
The variables are all on the left, and a yearly schedule is on the right. The important thing is the values in the yellow box. This equation works perfectly as long as the annuity stays positive. The equation for Annuity 1 matches the last value in the yearly schedule. But once Annuity 2 goes negative, then the math has to change. The final amount in the yearly schedule is correct, the value in the yellow box is not.
I have far too many of these to maintain yearly schedules for each account and have them update automatically as each year goes by. So that's why I need to somehow calculate the expected value until it reaches zero and then switch to a new formula.
...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
The formula works perfectly in my example workbook, but as soon as I add it to my actual workbook I get a #REF! error. Yes, I pushed Shift, Control, Enter.
I had excel evaluate the formula, and it specifically doesn't like the INDIRECT("1:"&$C$4)).
I've copied the formula directly into the workbook. I've tried replacing each of the values. I moved things around. I just can't get it to work in this one workbook.
That part of the formula generates an array to evaluate the expected value for each period in the life of the annuity, so the content of C4 must be valid for that purpose.
It can't cope with partial periods thought, the number in C4 must be a whole number.
If you need partial periods, then we will need to re-evaluate the process.
Maybe the OP wants to know when the value goes below zero (in which year).
Maybe if you read the question, you would see that they actually want a formula to correctly calculate the Future Value without needing the table to calculate each year individually.
edit:-
Note the part in bold text, post #3 tells us that the purpose of the question is to eliminate the use of the extra table (which your formula relies on)!
Jason, that's exactly what it was. Once I rounded the life expectancies, everything works just fine. Thanks!!
Oeldere, I see that you're calculating the point of zero. My issue is that I needed a self contained formula for a larger table, since I won't be able to maintain yearly information as I did in the example workbook.
Bookmarks