Need assistance with auto disaggregation of data from monthly to weekly

jajatidev

Board Regular
Joined
Jul 29, 2016
Messages
78
Office Version
  1. 365
Platform
  1. Windows
Hi,
I have this forecast data that's generated monthly. However, the monthly forecast is disaggregated into weekly buckets for planning purposes.
The weekly planning cycle is always 2 weeks out from the planning week which is indicative in the formula shared below where 14 days is added.

For disaggregation of the forecast, I manually adjust the cells based on the week of the month, which is done for all 16 weeks to align.

I need to apply a formula that looks up the month based on the week. and then break down the forecast from the specific month into weekly buckets factoring in the number of weeks that remain in the month.
For example;
the 1st week in the upload section is 28th Aug. Therefore the formula applied should look up August to identify the August forecast and divide the number by 4 to get the weekly breakup. The next week will be the 1st week of Sep., which the formula should recognize and look for Sep forecast. The process should continue for the subsequent weeks.

Not sure if this is possible with Excel formulas. However, felt like giving it a try.

BacklogFinal Forecast After RunRate, Growth & Deals (Monthly)For Forecast Upload
SKU No.Trade OrdersDEMO / WarrantyAug-23Sep-23Oct-23Nov-23Dec-23Jan-24Feb-24Mar-24Apr-24May-24CUSTIDPRDID2023-08-282023-09-042023-09-112023-09-182023-09-252023-10-022023-10-092023-10-162023-10-232023-10-302023-11-062023-11-132023-11-202023-11-272023-12-042023-12-11
3GZ25A-KGJ256980993123887458449351637220117102900009993GZ25A-KGJ501249249249249310310310310219219219219219146146


Excel Formula:
[TABLE]
[TR]
[TD]=14+(TODAY()-WEEKDAY(TODAY())+2)[/TD]
[TD]=AL$3+7[/TD]
[TD]=AM$3+7[/TD]
[TD]=AN$3+7[/TD]
[TD]=AO$3+7[/TD]
[TD]=AP$3+7[/TD]
[TD]=AQ$3+7[/TD]
[TD]=AR$3+7[/TD]
[TD]=AS$3+7[/TD]
[TD]=AT$3+7[/TD]
[TD]=AU$3+7[/TD]
[TD]=AV$3+7[/TD]
[TD]=AW$3+7[/TD]
[TD]=AX$3+7[/TD]
[TD]=AY$3+7[/TD]
[TD]=AZ$3+7[/TD]
[/TR]
[TR]
[TD]=IFERROR(ROUNDUP(SUM($B4:$C4)+(X4/4),0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(Y4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(Y4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(Y4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(Y4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(Z4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(Z4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(Z4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(Z4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(AA4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(AA4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(AA4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(AA4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(AA4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(AB4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(AB4/4,0),"NA")[/TD]
[/TR]
[/TABLE]
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Hi,
I have this forecast data that's generated monthly. However, the monthly forecast is disaggregated into weekly buckets for planning purposes.
The weekly planning cycle is always 2 weeks out from the planning week which is indicative in the formula shared below where 14 days is added.

For disaggregation of the forecast, I manually adjust the cells based on the week of the month, which is done for all 16 weeks to align.

I need to apply a formula that looks up the month based on the week. and then break down the forecast from the specific month into weekly buckets factoring in the number of weeks that remain in the month.
For example;
the 1st week in the upload section is 28th Aug. Therefore the formula applied should look up August to identify the August forecast and divide the number by 4 to get the weekly breakup. The next week will be the 1st week of Sep., which the formula should recognize and look for Sep forecast. The process should continue for the subsequent weeks.

Not sure if this is possible with Excel formulas. However, felt like giving it a try.

BacklogFinal Forecast After RunRate, Growth & Deals (Monthly)For Forecast Upload
SKU No.Trade OrdersDEMO / WarrantyAug-23Sep-23Oct-23Nov-23Dec-23Jan-24Feb-24Mar-24Apr-24May-24CUSTIDPRDID2023-08-282023-09-042023-09-112023-09-182023-09-252023-10-022023-10-092023-10-162023-10-232023-10-302023-11-062023-11-132023-11-202023-11-272023-12-042023-12-11
3GZ25A-KGJ256980993123887458449351637220117102900009993GZ25A-KGJ501249249249249310310310310219219219219219146146


Excel Formula:
[TABLE]
[TR]
[TD]=14+(TODAY()-WEEKDAY(TODAY())+2)[/TD]
[TD]=AL$3+7[/TD]
[TD]=AM$3+7[/TD]
[TD]=AN$3+7[/TD]
[TD]=AO$3+7[/TD]
[TD]=AP$3+7[/TD]
[TD]=AQ$3+7[/TD]
[TD]=AR$3+7[/TD]
[TD]=AS$3+7[/TD]
[TD]=AT$3+7[/TD]
[TD]=AU$3+7[/TD]
[TD]=AV$3+7[/TD]
[TD]=AW$3+7[/TD]
[TD]=AX$3+7[/TD]
[TD]=AY$3+7[/TD]
[TD]=AZ$3+7[/TD]
[/TR]
[TR]
[TD]=IFERROR(ROUNDUP(SUM($B4:$C4)+(X4/4),0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(Y4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(Y4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(Y4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(Y4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(Z4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(Z4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(Z4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(Z4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(AA4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(AA4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(AA4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(AA4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(AA4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(AB4/4,0),"NA")[/TD]
[TD]=IFERROR(ROUNDUP(AB4/4,0),"NA")[/TD]
[/TR]
[/TABLE]
Can this be achieved?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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