Hi,
I am setting up a formula so Excel will calculate the CAGR (defined as: (end number/begin number)^(1/(end year-begin year))-1. The Excel sheet has the years (1999 to 2006) running fixed across the top in columns b to i. The concept is that someone will enter the begin year and end year into columns K & L, respectively. The formula will then see what begin number and end number K & L correlate to (ie. which column b to i does it reference).
So, the (end year-begin year) piece is simply ($k3-$L3) for row 3 in this example. But, inorder for it to reference the correct b to i column it requires to many "if" statements. By using "if" statements, there are 28 possible scenairios for which years the CAGR will be calculating between the years 1999 to 2006 - e.g. 2001 to 2005.
Any suggestions? There should be an easier way to do this. Is there a function I am not aware of?
Thanks!!
I am setting up a formula so Excel will calculate the CAGR (defined as: (end number/begin number)^(1/(end year-begin year))-1. The Excel sheet has the years (1999 to 2006) running fixed across the top in columns b to i. The concept is that someone will enter the begin year and end year into columns K & L, respectively. The formula will then see what begin number and end number K & L correlate to (ie. which column b to i does it reference).
So, the (end year-begin year) piece is simply ($k3-$L3) for row 3 in this example. But, inorder for it to reference the correct b to i column it requires to many "if" statements. By using "if" statements, there are 28 possible scenairios for which years the CAGR will be calculating between the years 1999 to 2006 - e.g. 2001 to 2005.
Any suggestions? There should be an easier way to do this. Is there a function I am not aware of?
Thanks!!