+ Reply to Thread
Results 1 to 9 of 9

Carton/box size calculator formula

  1. #1
    Registered User
    Join Date
    04-27-2019
    Location
    UK
    MS-Off Ver
    Office 2016
    Posts
    3

    Question Carton/box size calculator formula

    Hello, I am new here, and like many people my first post is a question I have spent all day scratching my head with

    I am trying to create a spreadsheet where if you put in the dimensions of a product to be sold online (Length x width x height) it will tell you which box size to use from a selection of already existing box sizes in stock.

    This is for people working on a packing line in a distribution warehouse, where there is a range of 14 different box sizes, and we are trying to cut down on the amount of items going out in a box that is bigger than a more efficient sized box

    The problem is that I know formulas that can do a simple lookup of "if weight is between 5.0 - 6.0kg then show "use bubble wrap"", but when it has to meet multiple criteria for length x width x height of product AND fit the correct sized box, it becomes a real head scratcher..

    e.g. say a product is:
    385 x 200 x 55mm

    That would fit box:
    Box 3: 406 x 305 x 76

    BUT

    If a product is:
    385 x 200 x 100mm

    Then it wont fit box 3 because of how tall it is (it would have to go in box 6: 406 x 305 x 102mm)


    I have spent all evening trying to find some sort of calculator within excel that can do this, and have found nothing. I am also not very skilled with Excel, only very basic equations, so It may not even be possible.

    The specific box sizes are:

    L W H
    254 178 76 Box 1: 254 x 178 x 76
    330 229 102 Box 2: 330 x 229 x 102
    356 254 127 Box 4: 356 x 254 x 127
    356 203 178 Box 5: 356 x 203 x 178
    356 305 254 Box 10: 356 x 305 x 254
    406 305 76 Box 3: 406 x 305 x 76
    406 305 152 Box 7: 406 x 305 x 152
    457 229 216 Box 8: 457 x 229 x 216
    457 356 203 Box 11: 457 x 356 x 205
    483 305 102 Box 6: 483 x 305 x 102
    485 330 152 Box 9: 485 x 330 x 152
    559 457 305 Box 12: 457 x 568 x 305
    559 457 305 Box 12: 457 x 568 x 305
    559 457 305 Box 12: 457 x 568 x 305
    Last edited by 0235; 04-28-2019 at 05:53 AM. Reason: solved

  2. #2
    Registered User
    Join Date
    08-19-2014
    Location
    Dallas, TX
    MS-Off Ver
    Office2013
    Posts
    44

    Re: Carton/box size calculator formula

    See if this (the attachment) is what you are looking for.
    Attached Files Attached Files
    Last edited by XLPadawan; 04-28-2019 at 02:33 AM. Reason: incomplete; posted prematurely

  3. #3
    Valued Forum Contributor Sadath31's Avatar
    Join Date
    03-02-2011
    Location
    Dammam, Saudi Arabia
    MS-Off Ver
    Office 365
    Posts
    452

    Re: Carton/box size calculator formula

    Hi

    pls check the attached file is suits your retirement..
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,321

    Re: Carton/box size calculator formula

    Administrative Note to All Participants:

    Although there is no official rule regarding this behaviour, we request that wherever possible both the question AND the answer be provided in substantive detail here within the thread. An attached workbook is an excellent aid for posing a question and offering a solution, but solely doing that with no in thread explanation makes it difficult for researchers to understand or consider the Q & A of this thread without downloading what may be a pointless doc to them, if they can do that at all. Doing that also hides the content from search engines so others may never benefit from this.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    04-27-2019
    Location
    UK
    MS-Off Ver
    Office 2016
    Posts
    3

    Re: Carton/box size calculator formula

    Thank-you very much for your replies, and so quickly. it was fantastic to wake up to not just one, but two solutions.

    I very much like how both solutions can generate slightly different results. XLpadawan (may the force be with you) seems to have also included the volume of the box in the calculation of picking a suitable box, whereas Sadath31 has basically read my mind with how i was trying to solve it.

    both perfect solutions, and have been spoiled in such a short amount of time.

  6. #6
    Registered User
    Join Date
    09-09-2020
    Location
    Cleveland, OH
    MS-Off Ver
    Office 365
    Posts
    1

    Re: Carton/box size calculator formula

    I realize this thread is a little old but this was very helpful. Question...how can this be changed to allow Length and Width of box to be interchangeable? Here is what happens as it is written:

    EX:
    Box 2 has a dimension of 330x229x102
    Box 11 has a dimension of 457x356x205

    When I have a product dimension of 229x330x102, the program chooses box 11 when the product would fit into Box 2 if turned 90 degrees. Any ideas?

    Thanks!!

  7. #7
    Registered User
    Join Date
    04-27-2019
    Location
    UK
    MS-Off Ver
    Office 2016
    Posts
    3

    Re: Carton/box size calculator formula

    I have had this problem a few times as it is a but of an odd one. For some shipping companies you always pick longest then medium then shortest dimensions, regardless of whether the product is not that way up. e.g. a drinks flask is very tall, but we would lay it on its side for measurements, therefore making the "height" of the flask, the length.

    I wonder if there is a way to automatically reconfigure any dimensions that are put in to the correct longest / medium / shortest dimension.

    But I think it is because the spreadsheet is getting confused by the 330mm dimension being the "second" dimension, so is looking what will fit, and completely ignoring there are boxes that are more than long enough.

    But user "error" (i mean no offence) is no excuse to force people to do it a specific way, especially when a lot of things do not conform to the length = longest, width = medium, height = shortest.

  8. #8
    Registered User
    Join Date
    02-18-2025
    Location
    por
    MS-Off Ver
    2025
    Posts
    1

    Re: Carton/box size calculator formula

    how can i download it ?

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,321

    Re: Carton/box size calculator formula

    Click on the file attached to download it.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Is there anyway to calculate the number of carton in this way?
    By HXIO in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 06-14-2018, 02:13 PM
  2. Carton # of 250 help
    By SPIG in forum Excel General
    Replies: 8
    Last Post: 10-10-2016, 07:24 AM
  3. [SOLVED] Print Number of Carton Labels Needed
    By ewong@schielegroup in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-22-2015, 11:07 AM
  4. Print Number of Carton Labels Needed
    By ewong@schielegroup in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 05-21-2015, 10:48 AM
  5. Shipping carton Allocation?
    By trepetti in forum Excel General
    Replies: 2
    Last Post: 08-06-2014, 10:50 AM
  6. printing several pages with continuing carton numbers
    By cevatyildiz in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-15-2009, 03:25 AM
  7. Largest size calculator
    By nobbyknownowt in forum Excel General
    Replies: 0
    Last Post: 01-15-2006, 08:35 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1