Hello, I'm hoping that someone can help. I have a business spreadsheet that I would like to update automatically. There are currently three calculations (a CAGR, a median and a sum in that order in the table below) performed on the past ten years of historic data. They only reference the historic data (i.e. 2016 and prior) rather than the forecasts, and it is easy to hard code the cells in each formula so that they work.
However, once a new year is added, I have to manually adjust each formula, as they should only perform the calculations on the past ten years (rather than including the forecasts). And there are dozens and dozens of them repeated for every division for every line of the accounts. And it's difficult to ensure that I've done it each time for every line!
The ideal is for Excel to recognise which column is the last year of historic data, and use that as the starting reference and go back 10 years to perform the calculations.
For a variety of reasons, I would prefer not to have excel use a data function to calculate the last historic year, but to recognise the that the last financial year does not have an 'e' next to the number. Or to introduce a specific reference for the latest financial data (a '1' entered once at the top of the column?). Whatever works, we can do that.
An example is below, and any help you can give would be wonderful.
Thanks.
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]2007[/TD]
[TD]2008[/TD]
[TD]2009[/TD]
[TD]2010[/TD]
[TD]2011[/TD]
[TD]2012[/TD]
[TD]2013[/TD]
[TD]2014[/TD]
[TD]2015[/TD]
[TD]2016[/TD]
[TD]2017e[/TD]
[TD]2018e[/TD]
[TD]2019e[/TD]
[TD]2020e[/TD]
[TD]Calculation[/TD]
[/TR]
[TR]
[TD]Sales[/TD]
[TD]85[/TD]
[TD]100[/TD]
[TD]90[/TD]
[TD]99[/TD]
[TD]98[/TD]
[TD]100[/TD]
[TD]105[/TD]
[TD]108[/TD]
[TD]115[/TD]
[TD]120[/TD]
[TD]121[/TD]
[TD]125[/TD]
[TD]130[/TD]
[TD]135[/TD]
[TD]4% (C.A.G.R)[/TD]
[/TR]
[TR]
[TD]Costs[/TD]
[TD]-82[/TD]
[TD]-85[/TD]
[TD]-92[/TD]
[TD]-88[/TD]
[TD]-89[/TD]
[TD]-90[/TD]
[TD]-90[/TD]
[TD]-91[/TD]
[TD]-92[/TD]
[TD]-93[/TD]
[TD]-95[/TD]
[TD]-96[/TD]
[TD]-96[/TD]
[TD]-99[/TD]
[TD]-90
(Median)[/TD]
[/TR]
[TR]
[TD]Profit[/TD]
[TD]3[/TD]
[TD]15[/TD]
[TD]-2[/TD]
[TD]11[/TD]
[TD]9[/TD]
[TD]10[/TD]
[TD]15[/TD]
[TD]17[/TD]
[TD]23[/TD]
[TD]27[/TD]
[TD]26[/TD]
[TD]29[/TD]
[TD]34[/TD]
[TD]36[/TD]
[TD]128
(Sum)[/TD]
[/TR]
</tbody>[/TABLE]
However, once a new year is added, I have to manually adjust each formula, as they should only perform the calculations on the past ten years (rather than including the forecasts). And there are dozens and dozens of them repeated for every division for every line of the accounts. And it's difficult to ensure that I've done it each time for every line!
The ideal is for Excel to recognise which column is the last year of historic data, and use that as the starting reference and go back 10 years to perform the calculations.
For a variety of reasons, I would prefer not to have excel use a data function to calculate the last historic year, but to recognise the that the last financial year does not have an 'e' next to the number. Or to introduce a specific reference for the latest financial data (a '1' entered once at the top of the column?). Whatever works, we can do that.
An example is below, and any help you can give would be wonderful.
Thanks.
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]2007[/TD]
[TD]2008[/TD]
[TD]2009[/TD]
[TD]2010[/TD]
[TD]2011[/TD]
[TD]2012[/TD]
[TD]2013[/TD]
[TD]2014[/TD]
[TD]2015[/TD]
[TD]2016[/TD]
[TD]2017e[/TD]
[TD]2018e[/TD]
[TD]2019e[/TD]
[TD]2020e[/TD]
[TD]Calculation[/TD]
[/TR]
[TR]
[TD]Sales[/TD]
[TD]85[/TD]
[TD]100[/TD]
[TD]90[/TD]
[TD]99[/TD]
[TD]98[/TD]
[TD]100[/TD]
[TD]105[/TD]
[TD]108[/TD]
[TD]115[/TD]
[TD]120[/TD]
[TD]121[/TD]
[TD]125[/TD]
[TD]130[/TD]
[TD]135[/TD]
[TD]4% (C.A.G.R)[/TD]
[/TR]
[TR]
[TD]Costs[/TD]
[TD]-82[/TD]
[TD]-85[/TD]
[TD]-92[/TD]
[TD]-88[/TD]
[TD]-89[/TD]
[TD]-90[/TD]
[TD]-90[/TD]
[TD]-91[/TD]
[TD]-92[/TD]
[TD]-93[/TD]
[TD]-95[/TD]
[TD]-96[/TD]
[TD]-96[/TD]
[TD]-99[/TD]
[TD]-90
(Median)[/TD]
[/TR]
[TR]
[TD]Profit[/TD]
[TD]3[/TD]
[TD]15[/TD]
[TD]-2[/TD]
[TD]11[/TD]
[TD]9[/TD]
[TD]10[/TD]
[TD]15[/TD]
[TD]17[/TD]
[TD]23[/TD]
[TD]27[/TD]
[TD]26[/TD]
[TD]29[/TD]
[TD]34[/TD]
[TD]36[/TD]
[TD]128
(Sum)[/TD]
[/TR]
</tbody>[/TABLE]