Which box for which parts?

doreilly2409

New Member
Joined
Aug 31, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hi everyone

hopefully you can help me out with this as my head if fried.

I have had a look at some of the other answers for similar questions but I can't see how they would work for my problem.

I have a long list of parts in my inventory. I also have a list of boxes for storing the parts. I have the dimensions for parts and I have the dimensions for the boxes.
I want to create a code to populate the values in Column F for which box to use to store each part. Please note I do not want parts sitting on top of each other, they must fit in the area of the box on one level. If additional boxes are needed then can this be shown in Column G

I would also like to use as little boxes as possible, so whichever fits the quantity required with the least amount of waste would be best. If a group of parts is so small that they take up little room in the smallest box that is fine. These are the only boxes I have at my disposal. Please see a mock up of 10 parts though the actual list is a lot larger
 

Attachments

  • test doc pic.PNG
    test doc pic.PNG
    43.2 KB · Views: 40

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
I'll try to assist. If not me then possibly other people who are smarter about Excel.

Pictures are only so helpful. Maybe post a link to your workbook. Put the file on Dropbox, Box, 1Drive, Google Drive etc. Use the link icon above the Mr Excel message area. Make sure that other people can access the file!

Or, consider sharing relevant data using Mr Excel's excellent XL2BB addin that enables you to post a portion of a worksheet. See XL2BB - Excel Range to BBCode for details.

Also, show us the result that you expect for the various parts listed so the sizing logic is more clear (to me). For example, are parts stackable?
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,206
Members
452,618
Latest member
Tam84

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