Forecast Consumption Formula

BMil8

Board Regular
Joined
Aug 9, 2010
Messages
153
Office Version
  1. 365
Hello, I have a file that I use to track a unit forecast. I need a formula that will adjust the forecast for future weeks, based on if the weeks prior exceeded or fell short of that weeks forecast.

Example: Assume we just finished week 4 and have exceeded the forecast for those 4 weeks by 1650 units. I want the future weeks to start deducting from the Orig FCST line. 1000 units removed from weeks 5, and 650 removed from week 6.

Week 1Week 2Week 3Week 4Week 5Week 6Week 7Week 8Week 9
Orig FCST:100010001000100010001000100010001000
Actual:1400110012501900
New FCST0350100010001000

Then after each week that passes, it will adjust the New FCST line as needed. Example: After we sell 2300 units in Week 5 the New FCST would look as follows

Week 1Week 2Week 3Week 4Week 5Week 6Week 7Week 8Week 9
Orig FCST:100010001000100010001000100010001000
Actual:14001100125019002300
New FCST00501000

You can see that the Orig and (Actual + New FCST) both total 9000, the weeks are just adjusted to account for what has actually happened. Is this possible?

Thanks in advance.
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Try

B4 copied across
=IF(ISNUMBER(B3),"",MIN(MAX(0,SUM($B2:B2)-SUM($B3:B3)),B2))

M.
 
Upvote 0
Solution
I was trying to create a rolling average of the last two weeks.
test varieties.xlsm
ABCDEFGHIJK
1TotalWeek 1Week 2Week 3Week 4Week 5Week 6Week 7Week 8Week 9
2Orig FCST:9000100010001000100010001000100010001000
3Actual:56501400110012501900
4New FCST11675140011001250190015751450100010001000
Sheet11
Cell Formulas
RangeFormula
B2:B4B2=SUM(C2:K2)
C4:D4C4=IF(C3<>"",C3,C2)
E4:K4E4=IF(E3<>"",E3,MIN(INT(AVERAGE(IF(C3<>"",C3,C2),IF(D3<>"",D3,D2))),$B$2-SUM($C3:D3)))
 
Upvote 0

Forum statistics

Threads
1,215,053
Messages
6,122,882
Members
449,097
Latest member
dbomb1414

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