Trying to get dates to converge

MartyCollins

New Member
Joined
Jan 21, 2022
Messages
38
Office Version
  1. 365
Platform
  1. Windows
Hi there I have a simple problem but its tricky to solve,
My work have disabled the XL2bb macros so apologies this is the best I cna come up with.

I have 3 parts that we manufacture, they are all in backlog as we ran out of a RM (raw material)
I am due 5000 units of the RM and when it arrives i need to apportion it so that each part I manufacture has a projected stockout date equal to one another (or as close as reasonably possible)

I normally end up doing this manually.. basically adjusting the QTYS in proposed apportionment until the projected stockout dates are equal one another.

If you paste this into A1 of a workbook and use the following formulas it will be easy to follow.

D2 = B2/C2 and copy down
G2=F2/E2 and copy down
H2 = G2/C2
J2 =TODAY()+(H2*7)-(D2*7) and copy down.
F5 =SUM(F2:F4) (which must sum to less than or equal to 5000, as that is all the raw material I am due)
Thanks in advance,
MArty.




BacklogWeekly sales forecastBacklog in WeeksRM Usage factorProposed apportionmentUnits this will makeweeks coverage this will giveCurrent weekProjected Stockout date
PartA
35​
3​
11.7​
10​
1390​
139​
46.33​
36​
04/05/2024​
PartB
125​
9​
13.9​
5​
2185​
437​
48.56​
36​
04/05/2024​
PartC
550​
25​
22.0​
1​
1425​
1425​
57.00​
36​
07/05/2024​
5000​
QTY of RM due
5000​
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Got the XL2bb working again... so basically i would like a formula to somehow adjust the highlighted QTYs in the proposed apportionment column to consume a max of 5000 between them and for the projected stockout dates to converge as close to one another as possible.

BuildProjection.xlsx
EFGHIJKLM
238BacklogWeekly sales forecastBacklog in WeeksRM Usage factorProposed apportionmentUnits this will makeweeks coverage this will giveProjected Stockout date
239PartA35311.710139013946.3304/05/2024
240PartB125913.95218543748.5604/05/2024
241PartC5502522.011425142557.0007/05/2024
2425000
243
244QTY of RM due5000
CAL11
Cell Formulas
RangeFormula
K239:K241K239=J239/I239
L239:L241L239=K239/G239
M239:M241M239=TODAY()+(L239*7)-(H239*7)
H239:H241H239=F239/G239
J242J242=SUM(J239:J241)
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,333
Members
452,636
Latest member
laura12345

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