+ Reply to Thread
Results 1 to 8 of 8

Multiple Truck Load Builder

Hybrid View

  1. #1
    Registered User
    Join Date
    01-27-2022
    Location
    Pennsylvania, US
    MS-Off Ver
    2013
    Posts
    3

    Exclamation Multiple Truck Load Builder

    HELP!

    I've built a tool that automatically creates the pallets/load units based on cases of product ordered. However, I'd like to find a way for this excel tool to build out the truck loads.

    In the example, the max load units per truck are 30, I need the tool to build out the needed truck loads. For example; truck load 1 would show item# and total load units (up to 30 units), without duplicating items in a truck.

    Hopefully that makes sense.
    Attached Files Attached Files

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Multiple Truck Load Builder

    Is there also a requirement to minimise the number of trucks? i.e have as close to 30 units in each truck as possible. If so this will need the Excel Solver

    If not the attached may be what you want. If so it just needs a one line macro to filter the Load units >0 from the Order sheet to the Filtered Loads sheet.
    In which case just let me know.
    Attached Files Attached Files
    Last edited by Richard Buttrey; 01-27-2022 at 12:20 PM.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    01-27-2022
    Location
    Pennsylvania, US
    MS-Off Ver
    2013
    Posts
    3

    Re: Multiple Truck Load Builder

    Thank you! This is great. But you are correct, I need to minimize truck loads. So I would need the first four to reach 30, then the remaining load/truck could be less than 30.

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Multiple Truck Load Builder

    Solver would aim to get as close to 30 as possible but there may not be any combinations that total exactly 30 meaning there will always be some space whilst minimising the number of trucks

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Multiple Truck Load Builder

    Just tried a solver solution but with a matrix of 47 products and a minimum of 5 trucks with the 134 load units that puts the number of variables over Solvers limit, which seems to be about 200.

    The last solution is a pragmatic one and it may be possible to refine it for other mixtures of loads. As it stands though it shows the minimum number with unused load space of 10, 4 & 6 for trucks 2,4 & 5

    In extremis if all your loads were 16, i.e. over half of the permitted 30, then you would need 47 trucks. Practically this would be unlikely but the number of trucks required will be somewhere between the absolute minimum, 5 in this example, and the number of loads.

    One refinement would perhaps be to sort the list in ascending order and then take the running total up to 30 for the first truck, then start the running total at the next load ...etc.

    Are there any other factors that could be used to refine the selection process.

  6. #6
    Registered User
    Join Date
    03-11-2021
    Location
    Barrie, Canada
    MS-Off Ver
    MS10
    Posts
    2

    Re: Multiple Truck Load Builder

    Hi - is this excel file open to all to try? I downloaded it and looks to be what I need, but its asking me for an account.

    thx

  7. #7
    Registered User
    Join Date
    01-05-2022
    Location
    Indonesia
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    51

    Re: Multiple Truck Load Builder

    Variables needed to calculate the loading calculator is Truck Capacity and Requested Amount
    let say:
    requested amount is in A1
    truck capacity is in B1

    to get amount of full loaded truck
    Formula: copy to clipboard
    =FLOOR(A1/B1 ; 1)


    to get total truck needed
    Formula: copy to clipboard
    =CEILING(A1/B1 ; 1)


    to get amount of leftover to load to the last truck
    Formula: copy to clipboard
    =MOD(A1 ; B1)


    (I have attached the .xlsx as example)
    Attached Files Attached Files
    Last edited by muhammadridho30; 03-01-2022 at 10:23 PM.
    I'm not an expert, but I'll try

  8. #8
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Multiple Truck Load Builder

    How does #7 relate to the OP's requirement?

+ 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] Support Request: On load check if Addon is Installed if yes, skip CustRibbon UI load.
    By pacosalasv in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-27-2022, 02:19 PM
  2. VBA - Load multiple workbooks(sheet2) into multiple a workbook with templates.add
    By trexlim in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-24-2018, 10:59 AM
  3. [SOLVED] Calculating Truck Waiting Time & Truck Unloading Time
    By Aldy Johan in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-25-2017, 11:23 PM
  4. Calculate out of service for a truck
    By bigroo1958 in forum Access Tables & Databases
    Replies: 4
    Last Post: 02-10-2017, 11:08 AM
  5. How much time for Concrete Truck
    By herbieinla in forum Excel General
    Replies: 6
    Last Post: 03-27-2009, 10:54 AM
  6. Truck loan spreadsheet
    By my47620 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-03-2005, 08:00 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