Adding Inventory Based on Lot Size

ggmkp

New Member
Joined
May 3, 2019
Messages
7
[FONT=&quot]I'm trying to add qty to Inventory (B5:G7) so that Supply meets Demand by first looking at the Storage with the lowest fruit count and adding the qty based on the lot size.

[/FONT]
capture-png.60767

[FONT=&quot]
Demand is manual input[/FONT]

[FONT=&quot]Supply is Sum(B5:B7), Sum(C5:C7)+B3 and on (cumulative)[/FONT]
[FONT=&quot]Total is Supply-Demand
[/FONT]
[FONT=&quot]Storage table is used only to find the fruit with the lowest count. Then adding the qty based on the lot size.[/FONT]
[FONT=&quot]
The result should look like this:

[/FONT]
capture1-png.60768
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Cross posted at: https://www.excelforum.com/excel-fo...79704-adding-inventory-based-on-lot-size.html
and at: https://chandoo.org/forum/threads/adding-inventory-based-on-lot-size.41929/

While we do not prohibit Cross-Posting on this site, we do ask that you please mention you are doing so and provide links in each of the threads pointing to the other thread (see rule 13 here along with the explanation: Forum Rules). This way, other members can see what has already been done in regards to a question, and do not waste time working on a question that may already be answered.
 
Upvote 0
You don't need to re-post, but if you have asked this question anywhere other than Excel Forum, or Chandoo, then you need to supply a link to that post.
 
Upvote 0
@Moderators
Please delete this post, I will post one with more clarity and complexity, thanks!
 
Upvote 0
Please do not start a new thread, instead you need to reply to this thread and include the rest of your crosspost links.
 
Upvote 0

Forum statistics

Threads
1,214,591
Messages
6,120,425
Members
448,961
Latest member
nzskater

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