Excel model to affect Outbound Capacity Constraints

M1donne

New Member
Joined
Apr 7, 2014
Messages
44
Hi all,

Happy bank holiday from the UK.

I'm trying to create an Excel model which tracks my outbound capacity from a warehouse and identifies where the capacity is forecast to be exceeded, and adjusts the outbound volume to the weeks where there is spare capacity.

At the moment I have the data as follows..

week353637383940414243444546474849505152
Outbound 1000010000150002000025000350005000065000650007500020000
Outbound Constraint500005000050000500005000050000500005000050000500005000050000500005000050000500005000050000
Capacity500005000050000500005000050000500004000040000350003000025000150000-15000-15000-2500030000
Constrained Supply00000000000000-15000-15000-250000
Cumulative CS00000000000000-15000-30000-55000-55000

<tbody>
</tbody><colgroup><col><col span="19"></colgroup>
Essentially I have breached my outbound capacity in weeks 49,50,51 and 52 and need to make use of spare capacity in the weeks with capacity.


Any thoughts or initial suggestions would be massively appreciated.

Regards

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

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
you are using jargon that you are familiar with, we are not. Is outbound a known future order that is filled ? what is outbound constraint and constrained supply?
are you making anything in week 35 or is 50000 the max you could make if you chose to ?
 
Upvote 0
you are using jargon that you are familiar with, we are not. Is outbound a known future order that is filled ? what is outbound constraint and constrained supply?
are you making anything in week 35 or is 50000 the max you could make if you chose to ?

Than you

In simple terms I need to make sure every week is no more than 50,000 (outbound row) by increasing the weeks that are less than 50,000 to ensure the total outbound is never greater than the maximum.

What I need to work out is a calculation that looks ahead across the future weeks and identifies where the maximum is exceeded and suggest weeks (with spare capacity) that can be increased.

Kind regards
 
Upvote 0
sorry - still don't understand - can you make up an example with say only 5 months and explain it again...
 
Upvote 0
sorry - still don't understand - can you make up an example with say only 5 months and explain it again...

Hi there,

Thanks for the reply (and patience :))

In the below example I have weeks 45 to 52

I need to ship from my warehouse 20,000 in week 45, 25,000 in week 46, 35,000 in week 47, 50,000 in week 48

In each of these weeks I can only ship (send out) a maximum of 50,000 units which is fine as they are all less or equal to the 50,000

However from week 49 I need to ship more than I physically can (the 50,000 capacity) so in week 49 I need to find a week where I can ship the 15,000 units earlier (than week 49), equally in week 50 and 51 I have the same issue, therefore I need to fine weeks where I can utilise spare capacity of 55,000 (15,000 from week 49, 15,000 from week 50 and 25,000 from week 51).

The challenge I have is trying to determine (systemically) which weeks I need to increase the outbound ship to make sure for the weeks that are greater than the constraint, I do not exceed capacity - essentially I need to smooth the outbound flow.

week4546474849505152
Ideal to ship2000025000350005000065000650007500020000
Outbound Constraint5000050000500005000050000500005000050000
Spare Capacity3000025000150000-15000-15000-2500030000

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

Regards
 
Upvote 0
max of 10 per week
original position
week1week2week3week4week5week6week7week8week9week10week11week12
48108121091568139
after macro is run15
4567891011121314154
week1week2week3week4week5week6week7week8week9week10week11week12
610101010101010710109
macro
For j = Cells(7, 18) To Cells(8, 18) Step -1
If Cells(10, j) > 10 Then GoTo 10 Else GoTo 20
10 Cells(10, j - 1) = Cells(10, j - 1) - (10 - Cells(10, j))
Cells(10, j) = 10
20 Next j
End Sub

<colgroup><col span="19"></colgroup><tbody>
</tbody>
 
Upvote 0
See if this does what you want.
Formula in B4 is copied across to I4.
Cell J4 needs to be blank, or at least not contain a numerical value.

Excel Workbook
ABCDEFGHIJK
1week4546474849505152Total
2Ideal to ship2000025000350005000065000650007500020000355000
3Outbound Constraint5000050000500005000050000500005000050000
4Ship this amount3500050000500005000050000500005000020000355000
Capacity







Another example

Excel Workbook
ABCDEFGHIJK
1week4546474849505152Total
2Ideal to ship200002500035000510001000650007500020000292000
3Outbound Constraint5000050000500005000050000500005000050000
4Ship this amount2000025000360005000041000500005000020000292000
Capacity (2)
 
Last edited:
Upvote 0
See if this does what you want.
Formula in B4 is copied across to I4.
Cell J4 needs to be blank, or at least not contain a numerical value.

Capacity

ABCDEFGHIJK
1week4546474849505152 Total
2Ideal to ship2000025000350005000065000650007500020000 355000
3Outbound Constraint5000050000500005000050000500005000050000
4Ship this amount3500050000500005000050000500005000020000 355000

<colgroup><col style="width: 30px; font-weight: bold;"><col style="width: 140px;"><col style="width: 54px;"><col style="width: 54px;"><col style="width: 54px;"><col style="width: 54px;"><col style="width: 54px;"><col style="width: 54px;"><col style="width: 54px;"><col style="width: 54px;"><col style="width: 23px;"><col style="width: 54px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
B4=MIN(B3,SUM(B2:$I2)-SUM(C4:$J4))

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4






Another example

Capacity (2)

ABCDEFGHIJK
1week4546474849505152 Total
2Ideal to ship200002500035000510001000650007500020000 292000
3Outbound Constraint5000050000500005000050000500005000050000
4Ship this amount2000025000360005000041000500005000020000 292000

<colgroup><col style="width: 30px; font-weight: bold;"><col style="width: 140px;"><col style="width: 54px;"><col style="width: 54px;"><col style="width: 54px;"><col style="width: 54px;"><col style="width: 54px;"><col style="width: 54px;"><col style="width: 54px;"><col style="width: 54px;"><col style="width: 30px;"><col style="width: 58px;"></colgroup><tbody>
</tbody>

Spreadsheet Formulas
CellFormula
B4=MIN(B3,SUM(B2:$I2)-SUM(C4:$J4))

<tbody>
</tbody>

<tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4

Hi there,

That works perfectly, thank you so much.

Can you please (in laymans terms) explain what the calculation is doing?

Regards
 
Upvote 0
That works perfectly, thank you so much.
That's good. You're welcome.


Can you please (in laymans terms) explain what the calculation is doing?
Doing is easier than explaining, but I'll try. :)


Excel Workbook
ABCDEFGHIJ
1week4546474849505152
2Ideal to ship200002500035000510001000650007500020000
3Outbound Constraint5000050000500005000050000500005000050000
4Ship this amount2000025000360005000041000500005000020000
Capacity (2)



Using this example, look first at the yellow cell, F4
=MIN(F3,SUM(F2:$I2)-SUM(G4:$J4))

The red part in this formula sums the green cells (161,000 being the amount we want to ship in the last 4 weeks) and subtracts the sum of the blue cells (120,000 being the amount we will ship in the final 3 weeks). This difference is 41,000, being the amount we need to ship in the 4th last week to get to target. The MIN part of the formula is a check to limit the answer in this cell to the lesser of what we need to ship (41,000) and what we could possibly ship (50,000)

As a second example, look at the amber cell, B4.
=MIN(B3,SUM(B2:$I2)-SUM(C4:$J4))
The sum of the whole top row is 292,000 (total to ship) the sum of the cells to the right (C4:J4) is 272,000 (what we will ship in those last 7 weeks). The difference is 20,000, which is below the limit of 50,000, so that's what we ship in week 45.
 
Upvote 0

Forum statistics

Threads
1,215,561
Messages
6,125,533
Members
449,236
Latest member
Afua

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