Possible for Excel?

Supurbub

New Member
Joined
Jul 6, 2024
Messages
9
Office Version
  1. 365
Platform
  1. Windows
Hello-

I am fairly strong on Excel formulas and have very lightly dabbled with Power Query/Pivot. My work has been making a manual schedule for quite a while and I am trying to get it automated. Our ERP does not have the capability so my best bet is to try to get this to work in Excel... unless there is another suggestion?
To oversimplify- we have giant sheets of material (Umbrellas) that we cut parts out of. These parts go to different companies. Some umbrellas may make 10 of the same part or may make 7 different parts or any combination of.
Our demand for parts fluctuates by month based on customer needs. The goal is to figure out the most efficient way (least # of umbrellas used) to satisfy customer demand.

The image below is contains some made up umbrella and part #s. We have over 75 parts and 20 different part numbers but I would imagine the solution would be the same conceptually.
1720296148348.png


My demand would look something like this:
1720296253624.png


The goal is to populate the ? with the minimum amount of umbrellas needed to satisfy the monthly quota. Leftovers can be used the next month (in other words, if you build 8 of 234-4 in May, you can use the last one to support the 1 demand in June)
I wouldn't be opposed to using PowerQuery, formulas, etc. but my work does disable Macros. My ability with them is very weak so I may need extra help if that is the best route (Sorry and thank you in advance!)

Thank you for any help that you can give!
 
Here is the updated file and I tested it for every month:

Umbrella 2 - TestedForAllMonth.zip

Here the results only:

# Required by MonthMayJuneJulyAugustSeptemberOctoberNovemberDecember
234-15112736107
234-231635525
234-471469423
555-19-537341
446-326459742
777-834473657
Umbrella DemandMayJuneJulyAugustSeptemberOctoberNovemberDecember
ABC-1-1111-23
ABC-225-31-42
ABC-3--------
ABC-42-1121--
ABC-5-1-1--11
ABC-63-4-36--


For September there is another solution just as good as the previous one:

September
-
-
-
2
-
5


Let me know what you think
 
Upvote 0

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Forum statistics

Threads
1,224,818
Messages
6,181,152
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