Forecast Trend formula needed

ShanaVT

Board Regular
Joined
May 12, 2010
Messages
86
I am building a forecasting model that will allow for multiple ways to trend actuals data forward and I am looking for a formula to help me do that automatically where I don't have to adjust the formula every month. Below is the example data. I will have 2 full years of actuals up to the current month in the first set of columns (I used 6 month years for this example to simplify). And then in the next set of columns you will see for FY19 the 2 months of actuals that have come in for Months 1 & 2 are reflected. In the row with "3 Month Avg" I want Months 3-6 to calculate the average of the last 3 months (so FY18 Month 6, FY19 Month 1 & FY19 Month 2). But I want to formula to know which 3 months to use based on the last month of Actuals we have (so in this case FY19 Month 2) so that when Actuals for Month 3 come in it will automatically change the go forward formula to be an avg of FY19 Months 1-3 for the remaining Months of the year. I also want to do the same thing for a 6 month avg. Ideally it would be in the same formula with an IF statement so I can use a drop-down and choose which method I want. Hopefully this makes sense and someone out there will be able to help! Thanks in advance!

ActualsActualsActualsActualsActualsActualsActualsActualsActualsActualsActualsActualsActualsActualsActualsActualsActualsForecastForecastForecastForecast
FY18FY18FY18FY18FY18FY18FY18FY19FY19FY19FY19FY19FY19FY19FY19FY19FY19FY19FY19FY19FY19
Month 1Month 2Month 3Month 4Month 5Month 6TotalMonth 1Month 2Month 3Month 4Month 5Month 6Total YrDrop-downMonth 1Month 2Month 3Month 4Month 5Month 6Total Yr
171 146 178 171 146 178 494 55 146 3713 Month Avg 55 146
6 Month Avg 55 146

<colgroup><col span="7"><col><col span="7"><col><col span="7"></colgroup><tbody>
</tbody>
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
This array formula may help,
Although the 'Total' for the year end, throws the average out.


[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]
Book1
BCDEFGHIJKLM
3ActualsActualsActualsActualsActualsActualsActualsActualsActualsActualsActualsActuals
4FY18FY18FY18FY18FY18FY18FY19FY19FY19FY19FY19FY19
5Month 1Month 2Month 3Month 4Month 5Month 6Month 1Month 2Month 3Month 4Month 5Month 6
617114617817114617855146
7
83126
96146
Sheet1
Cell Formulas
RangeFormula
C8{=SUM(IF(COLUMN(B6:M6)>=LARGE(IF(B6:M6>0,COLUMN(B6:M6)),$B$8),B6:M6))/$B$8}
C9{=SUM(IF(COLUMN(B6:M6)>=LARGE(IF(B6:M6>0,COLUMN(B6:M6)),$B$9),B6:M6))/$B$9}
Press CTRL+SHIFT+ENTER to enter array formulas.
[/FONT]
 
Upvote 0

Forum statistics

Threads
1,214,945
Messages
6,122,397
Members
449,081
Latest member
JAMES KECULAH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top