Hello, I am looking for a formula that properly pulls a Baseline Expense depending on location (this part is done) and then multiplies it by looking up the inflation rate for a given year. Second half of the formula is below.
Inflation portion:
+((1+INDEX(INFLATION!$H$19:$ZZ$41,MATCH(FORECAST!$B6,INFLATION!$B$19:$B$41,0),MATCH(YEAR(FORECAST!AZ$3),INFLATION!$H$16:$ZZ$16,0))/12)^DATEDIF(LOCATIONS!$C$2,AZ$3,"M"))
The formula is incorrect as it is just looking up the current year inflation rate, dividing it by 12 to get a monthly amount, and then raising it to the power equal to the number of months from baseline.
What the formula really needs to do is multiply the Baseline Expense * (1+(period 1 inflation rate/12))*(1+(period 2 inflation rate/12))*(1+(period 3 inflation rate/12))*.... so and so forth until it gets to the current month. My problem is that there are over 500 months in this analysis. Is there a way to write a formula that will add a (1+(period x inflation rate/12)* for each column that the formula is dragged across? Product formula of some sort?
Any help is greatly appreciated!
Inflation portion:
+((1+INDEX(INFLATION!$H$19:$ZZ$41,MATCH(FORECAST!$B6,INFLATION!$B$19:$B$41,0),MATCH(YEAR(FORECAST!AZ$3),INFLATION!$H$16:$ZZ$16,0))/12)^DATEDIF(LOCATIONS!$C$2,AZ$3,"M"))
The formula is incorrect as it is just looking up the current year inflation rate, dividing it by 12 to get a monthly amount, and then raising it to the power equal to the number of months from baseline.
What the formula really needs to do is multiply the Baseline Expense * (1+(period 1 inflation rate/12))*(1+(period 2 inflation rate/12))*(1+(period 3 inflation rate/12))*.... so and so forth until it gets to the current month. My problem is that there are over 500 months in this analysis. Is there a way to write a formula that will add a (1+(period x inflation rate/12)* for each column that the formula is dragged across? Product formula of some sort?
Any help is greatly appreciated!
Last edited: