Selecting a shipping box that best fits item dimensions

weelrdeelr

New Member
Joined
Nov 24, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Alright you guys I usually have fun figuring these types of things out myself but it looks like this one may be a little too much for me. I need to determine the box that fits the item most effectively. I want to bump up the dimensions of the item by 1 each so I account for bubblewrap and padding, then put that item in the box that fits it best. For example, Item 1 would fit in Box 6 perfectly since after you bump up the dimensions by 1 it is exact. However, Item 2 could fit in numerous boxes. Box 4 would work best. Basically I want the least amount of empty space possible, after the bump up by 1. I messed around with the following general formula but couldn't quite get it right as I bet I'm missing a couple big components.

Also, the list of boxes will change. I'll be adding more and obviously taking some away as they are used. I also have multiple of the same box. Thank you so much you guys!!!!

{=INDEX(range1,MATCH(1,(A1=range2)*(B1=range3)*(C1=range4),0))}

Boxes.xlsx
ABCDEFGHIJKL
1Box # L WHItem #LWHBox # NeededExpected Box #
2Box 1171511Item 1553Box 6
3Box 2121211Item 21132Box 4
4Box 313109
5Box 41354
6Box 51477
7Box 6664
8Box 71688
Sheet1
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
how about?

Book1
ABCDEFGHIJKL
1Box # L WHVolItem #LWHBox # NeededExpected Box #
2Box 11715112805Item 1553Box 6
3Box 21212111584Item 21132Box 4
4Box 3131091170
5Box 41354260
6Box 51477686
7Box 6664144
8Box 716881024
Sheet1
Cell Formulas
RangeFormula
L2:L3L2=INDEX($A$2:$A$8,MATCH(MINIFS($E$2:$E$8,$B$2:$B$8,">"&G2,$C$2:$C$8,">"&H2,$D$2:$D$8,">"&I2),$E$2:$E$8,0))
E2:E8E2=PRODUCT(B2:D2)
 
Upvote 0
Solution

Forum statistics

Threads
1,223,162
Messages
6,170,431
Members
452,326
Latest member
johnshaji

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