I'm trying to calculate CAGR for a row of 10 values using a standard formula: =RATE($K$1-$B$1,0,-B2,K2)
The first row has years, so K1 = 2011 and B1 = 2002, therefore the # of periods is 9.
This formula works fine if B2 is a positive number. However, it returns an error if B2 is negative, as the rate formula must start with a positive number. Is there some way to modify the above formula to start with the first non-negative value?
So if the row is:
-1, 2, 3 .... 10 then the formula would be =RATE($K$1-$C$1,0,-C2,K2). This ensures that both the # of periods & the starting period match up.
However, if the row is:
-1, -2, 3 ... 10, then the formula would be =RATE($K$1-$D$1,0,-D2,K2), basically, the formula would adjust over two columns so it starts with 3 as the beginning value.
Any suggestions are much appreciated.
Thanks.
Bookmarks