Allocating Amounts into Bucket

jasonkch9

New Member
Joined
Nov 28, 2017
Messages
1
Hi There,

Here is the problem:
Say I have 5 inventory of products (liquids):
Jan Feb Mar
Milk 5 10 1
Water 7 8 40
Orange Juice 10 32 3

Now say I have the following containers:
Container 1 - capacity 1
Container 2 - capactiy 3
Container 3 - capacity 4
Container 4 - capacity 5
Container 5 - capacity 10
Container 6 - capacity 10
Container 7 - capacity 20

The products cannot be mixed, and I want to know if I have capacity to hold those products and what percentage each container is to capacity in every month. So I need an excel method to essentially say:

Jan Feb
Container 1 Milk 100%
Container 2 Water 100% Water 100%
Container 3 Milk 100% OJ 50%
Container 4 Water 80% Water 100%
Container 5 OJ 100% Milk 100%
Container 6 OJ 100%
Container 7 OJ 100%

This is a slight math/excel question. Any help would be appreciated. i think the first step is to organize your capacity by smallest to largest, but not sure what's the next step for it to be most efficient calculation.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
So, you need to find out which size of container to use for each product/month? I visualize this like a coin sorter where each coin drops once a certain size is met. I'm sure there are ways to do this with normal Excel functions, but I'd suggest VBA if this is something that will need repeated

Are you able to change the data around to make a table and run pivot tables off that data? Something like this:
LiquidMonthAmountContainerFill %
MilkJan54100%
WaterJan7570%
Orange JuiceJan105100%
MilkFeb105100%
WaterFeb8580%
Orange JuiceFeb32-0%

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,879
Messages
6,127,515
Members
449,385
Latest member
KMGLarson

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