Excel Formula required for Container Allocation

hrayani

Well-known Member
Joined
Jul 23, 2010
Messages
1,516
Office Version
  1. 2016
Platform
  1. Windows
Hello Friends,

See below - if it can be achieved with a formula

Book1
ABCDE
1VolumeResultReasonContainer TypeCapacity
21,51523x40 HC + 1x20 STD23x40-HC = 1,495 & remaining 20 in 1x20-STD40-HC65
31201x10 HC + 1x20 STD1x40-HC = 65 & remaining 55 in 1x40-STD40-STD55
4561x40 STD + 1x20 STD1x40-STD = 65 & remaining 1 in 1x20-STD20-STD20
5251x20 STD1x20-STD = 25
6261x40 STD1x40 STD = 55
71452x40-HC + 1x20-STD2x40-HC = 130 & remaining 15 in 1x20-STD< Incorrect
81451x40-HC + 1x40-STD + 1x20-STD1x40-HC = 65 & 1x40-STD = 55 remaining 25 in 1x20-STD< Correct
Sheet1


Regards,

Humayun
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Just curious, before I even look at formula ... Line 8.

Your reason to fit 145 inside 1 x 40HC @ 65, 1x40SD @ 55, and then 1x20STD to fit remaining 25 ? I am curious how you fit the last 25 into a container you state has a size 20.

thanks to clarify ..

Rob
 
Upvote 0
Just curious, before I even look at formula ... Line 8.

Your reason to fit 145 inside 1 x 40HC @ 65, 1x40SD @ 55, and then 1x20STD to fit remaining 25 ? I am curious how you fit the last 25 into a container you state has a size 20.

thanks to clarify ..

Rob

Good Question

There is a typo in cell E4
Instead of writing 25 there I wrote 20..... My BAD!
It's a 20 size container which can hold 25 M3 (Volume) of goods

Pls see below with correction

Book3
ABCDE
1VolumeResultReasonContainer TypeCapacity
2151523x40 HC + 1x20 STD23x40-HC = 1,495 & remaining 20 in 1x20-STD40-HC65
31201x10 HC + 1x20 STD1x40-HC = 65 & remaining 55 in 1x40-STD40-STD55
4561x40 STD + 1x20 STD1x40-STD = 65 & remaining 1 in 1x20-STD20-STD25
5251x20 STD1x20-STD = 25
6261x40 STD1x40 STD = 55
71452x40-HC + 1x20-STD2x40-HC = 130 & remaining 15 in 1x20-STD< Incorrect
81451x40-HC + 1x40-STD + 1x20-STD1x40-HC = 65 & 1x40-STD = 55 remaining 25 in 1x20-STD< Correct
Sheet1
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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