Truck load capacity

PuntingJawa

Board Regular
Joined
Feb 25, 2021
Messages
140
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Good afternoon MrExcel board!

I'm trying to make an excel sheet to create load capacity for shipments. I have started with basics but am having trouble bringing this to the next level. The main issue I am having is figuring out how many crates need to be placed on which row and how many can fit. There are 2 items that can only be placed on the bottom row and 3 items that can be placed on any of the 3 rows. I feel like I am on the right path but don't know how to go about working it.

I'll explain what I am attempting.

I want E12-E16, G14-G16, and I14-I16 to show how many crates can fit per row with length used.

A few issues I have a problem with are, I don't know how to formulate the above mentioned to allow use of 636. Example In D15 where we go into negative there are 314 inches left. If divided by D8 (length of DO crate) it comes to 4.8. Since we can't use a fraction of a location the .8 is gone. I would need it to reflect that. Also, Each row can hold 2 crates. I haven't figured out how to do 1/2 rows yet.
The next issue is F14-F16 and I14-I16. Each "Row" has only 636 inches. So my current formula won't work once the above is figured out. I would need to remove the length of crates already used.

Any help with this would be amazing. Please let me know if a better explantion is required. I'll have the board up when I return home and still continue to work on this on my own for now.

Truck load template.xlsx
ABCDEFGHIJKL
1
2
3
4Type / Max StackLengthWidthHeightWeightQTYTotal (LBS)Total InchNotes
5Box Crate (1x Max)42574385065100252636" Per "Lane"
6Car Kit (1x Max)4444812500001xRow = 2x "Lane"
7EDO Crate (3x Max)7037254501450701,272" Both Lanes
8DO Crate (3x Max)653725750241800015602,544" If Stacked
9LE QTY240LE Pallet (3x Max)96481696019609632,000 (Max LBS set)
10Actual Max 34k LBS
11Load plan1 Row QTY 12 RowQTY 23 rowQTY 3StackableBased on 53'x8.2'x8'
12Box Crate (1x Max)38410202292No636x98.4x96 inches
13Car Kit (1x Max)38410202292No
14EDO Crate (3x Max)3149502222Yes
15DO Crate (3x Max)-1246-610662Yes
16LE Pallet (3x Max)-1342-706566Yes
17
18Total Weight in LBS
1924510
Sheet1
Cell Formulas
RangeFormula
I5:I9I5=H5*G5
J5:J9J5=D5*H5
G9G9=B9*4
D12D12=636-J5
D13:D16D13=D12-J6
F12F12=1272-J5
F13:F16F13=F12-J6
H12H12=2544-J5
H13:H16H13=H12-J6
C19C19=I9+I5+I7+I8+I6
Cells with Conditional Formatting
CellConditionCell FormatStop If True
H12:I16Cell Value<0textNO
F12:G16Cell Value<0textNO
D12:E16Cell Value<0textNO
H12:I16Cell Valuebetween 0 and 2544textNO
F12:G16Cell Valuebetween 0 and 1272textNO
D12:E16Cell Valuebetween 0 and 636textNO
C19Cell Value<32000textNO
C19Cell Value>32000textNO
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
I have managed a little more work on this. I'm using a lot of simplistic formulas that are about what my skill level is.
I've given a visual example of what a 2 tier truck would look like at columns K through M with the current data in this sheet.

I believe that I fixed the formula somewhat on the load plan area at C11/D11 to C15/D15. It's not perfect but it worked for the most part as a guideline. Some pallets have wiggle room to turn and can be forgiving.

The next part I would like to try, and I am finding it difficult, is to create a formula that reflects the example of K through N in the Capacity section starting at C19 through H19.

Each lane is 636' long.
Each crate will alternate between lane 1-lane 2 until 636 inches is exhausted but not exceeded. (Example at M15 where there are 37 inches left but nothing fits so it's wasted space). Then proceed to lane 3 and 4. Then 5 and 6.
Box crates and Car kits cannot be stacked so they take priority in lanes 1 and 2.

Is there a way for me to reflect the example I have placed into the capacity area? One major problem am having is trying to come up with a formula that accounts for both left and right sides while removing the length down the lanes with odd numbers.

Row 1QTYRemaining
Type / Max StackLengthWidthHeightWeightQTYTotal LBSTotal InchBCDO6xBC
(None left)
6xDO
(18 left)

321 inch
Box Crate (1x Max)42574385065100252BC
Car Kit (1x Max)444481250000DO
EDO Crate (3x Max)703725450145070BCDO
DO Crate (3x Max)65372575024180001560BC
LE Pallet (3x Max)964816960196096DO
LE QTY (LH+RH)240Total LBS24510BCDO
BC
Load plan (Inch Left)1 Row2 Row3 RowStackableNotesDO315 Inches left
Box Crate (1x Max)
1020​
No636" Per "Lane"DODO8xDO
(10 left)

260 inch
Car Kit (1x Max)
1020​
No1xRow=2x"Lane"DODO
EDO Crate (3x Max)
950​
Yes1,272" Both LanesDODO
DO Crate (3x Max)
-610​
662​
1934​
Yes2,544" If StackedDODD55 Inches left
LE Pallet (3x Max)
-706​
-44​
1890​
Yes32,000 (Max LBS set)
Actual Max 34k LBS
LEP (SIDEWAYS)37 inch
(No LEP Left)
18 Inches left
Based on 53'x8.2'x8'
Capacity636x98.2x96 inchesRow 210 DO
(None Left)

325 inch
IDLane 1Lane 2Lane 3Lane 4Lane 5Lane 6DODO
BC|Box CrateXXXXDODO
CK|Car KitXXXXDODO
ED|EDO CrateDODO
DO|DO CrateDODO311 Inches left
LEP|LE PalletEDED
(No ED Left)
70 Inch
241 Inches left
 
Upvote 0
A little background. I work in shipping and receiving, but take on extra projects with any free time. I work with several folks who aren't exactly computer savvy, and if it's electronic based it, generally speaking, gets thrown at me as I tend to figure it out or know where I can get answers. This is the first excel based workbook that I have created to make my actual job easier.
Joe4 was a huge help and educated me on how to shorten my =IF formulas.

I've worked quite a lot on this with the little free time I've had. It is far from perfect as the crate types are fairly static and vertical space is only managed by the fact that there are limited types of crates I use, how ever it should be rather easy to modify if someone in a shipping capacity could utilize or improve it.

There are two sheets. One for the truck/input of data and another as just data that will change on the truck page based on input of the QTY of crates. I feel this could be cleaned up and am working slowly on a second version. I will repost again when I finish a second version. I am currently trying to make one that takes height and width into consideration and can handle up to 25 crates and 25 pallets of different sizes and weights, so it may take some time.

How it works.
You input the quantity of crates per type, length of the truck being used (In feet), and if applicable the quantity of 1 particular item (This is for weight on an item we ship that is 4 lbs each). This takes data from weight and length categories, and inputs them into cells.
The data sheet then uses all the formulas that I have input into a string.
Near the end of the data it rounds down and places a max quantity of crates into "Rows" as any crate that isn't a whole can't fit on the truck anyway.
Data is then used back on the "Truck" page to show what can fit. If the QTY from G5:G10 isn't less than or equal to F13:F17, then G13:G17 comes back with "Good!" or "Bad" Which in turn says if it's 1 truck loadable based on all the above criteria.

"Truck" page, which is where you input the crate information.
R211 LOAD TEMPLATE.xlsx
BCDEFGHIJKL
1Truck 1
2
3
4Type / Max StackLengthWidthHeightWeightQTYTotal LBSTotal InchNOTES:
5Box Crate (1x Max)42574385043400168CHANGEABLE LE QTY, QTY, TRUCK LENGTH FT.
6Car Kit (1x Max)444481250000
7DO Crate (3x Max)65372575050375003250
8EDO Crate (3x Max)703725450145070
9LE Pallet (3x Max)9648160000If "Is QTY loadable?" is "Yes!" then single truck usable. If "No!" then mulitple needed.
10LE QTY (LH+RH)0Total LBS4135032,000 LBS based
11Length53Length in FT
12LOAD PLANRow 1Row 2Row 3Truck 1G/BIs QTY 1 truck loadable?
13Box Crate (1x Max)4XX4Good!NO!
14Car Kit (1x Max)0XX0Good!If "Is truck of weight?" is "Yes!" Then good. If "No!" then multi truck load.
15DO Crate (3x Max)1619035Bad!Is truck of weight?
16EDO Crate (3x Max)0000Bad!No!
17LE Pallet (3x Max)0000Good!
18
19Packing Slip #'sReferenceDATECapacity is the QTY that can fit on the first truck.
20
Truck
Cells with Conditional Formatting
CellConditionCell FormatStop If True
G19:G23Cell Valuecontains "Bad"textNO
G19:G23Cell Valuecontains "Good"textNO
H16Cell Value="No!"textNO
H16Cell Value="Yes!"textNO
H13Cell Value="YES!"textNO
H13Cell Value="NO!"textNO
G13:G17Cell Valuecontains "Bad"textNO
G13:G17Cell Valuecontains "Good"textNO
H10Cell Value<32000textNO
H10Cell Value>32000textNO


"String Data" page where all the calculations happen. I've done up to 3 trucks worth of data, but have not implemented on the "Truck" page as I have ideas for what I want to try with the second version.
If the shipment is not 1 truck viable based on the length that has been input, you can at least trail the data and see where you can place the extra weight and crates. This is still a work in progress.


R211 LOAD TEMPLATE.xlsx
BCDEFGHIJKLMNOPQRSTUVWXYZAAABACAD
1
2TRUCK LENGTH1272String DataTruck 1
3Load plan (Inch Left)Req PerQTYREQ TotalQTYReq LengthLength EachRow 1Row 2Row 3TotalRow 1Row 2Row 3Actual LoadRow 1Row 2Row 3Used QTYTruck 1 weightLBS PerType
4Box Crate (1x Max)1104XX416842Box Crate (1x Max)4XX4Box Crate (1x Max)4XXBox Crate (1x Max)4XX43400850Box Crate (1x Max)
5Car Kit (1x Max)1104XX0044Car Kit (1x Max)0XX0Car Kit (1x Max)0XXCar Kit (1x Max)0XX00250Car Kit (1x Max)
6DO Crate (3x Max)-2146-87439850325065DO Crate (3x Max)16.984615419.569230819.569230854DO Crate (3x Max)161919DO Crate (3x Max)161903526250750DO Crate (3x Max)
7EDO Crate (3x Max)-2216-3090-269217070EDO Crate (3x Max)0011EDO Crate (3x Max)001EDO Crate (3x Max)00000450EDO Crate (3x Max)
8LE Pallet (3x Max)-2264-5354-80460096LE Pallet (3x Max)0000LE Pallet (3x Max)000LE Pallet (3x Max)000000LE Pallet (3x Max)
9Total LBS29650LBS
10TRUCK LENGTH1272String DataTruck 2Remove0LBS
11Load plan (Inch Left)Req PerQTYREQ TotalQTYReq LengthLength EachRow 1Row 2Row 3TotalRow 1Row 2Row 3Actual LoadRow 1Row 2Row 3Used QTYTruck 2 weight
12Box Crate (1x Max)1272XX0042Box Crate (1x Max)0XX0Box Crate (1x Max)0XXBox Crate (1x Max)0XX00
13Car Kit (1x Max)1272XX0044Car Kit (1x Max)0XX0Car Kit (1x Max)0XXCar Kit (1x Max)0XX00
14DO Crate (3x Max)297127212721597565DO Crate (3x Max)15151545DO Crate (3x Max)151515DO Crate (3x Max)1500156750
15EDO Crate (3x Max)2271272127217070EDO Crate (3x Max)1113EDO Crate (3x Max)111EDO Crate (3x Max)10010
16LE Pallet (3x Max)227127212720096LE Pallet (3x Max)0000LE Pallet (3x Max)000LE Pallet (3x Max)00000
17Total LBS0LBS
18TRUCK LENGTH1272String DataTruck 2Remove0LBS
19Load plan (Inch Left)Req PerQTYREQ TotalQTYReq LengthLength EachRow 1Row 2Row 3TotalRow 1Row 2Row 3Actual LoadRow 1Row 2Row 3Used QTYTruck 3 weight
20Box Crate (1x Max)1272XX0042Box Crate (1x Max)0XX0Box Crate (1x Max)0XXBox Crate (1x Max)0XX00
21Car Kit (1x Max)1272XX0044Car Kit (1x Max)0XX0Car Kit (1x Max)0XXCar Kit (1x Max)0XX00
22DO Crate (3x Max)1272127212720065DO Crate (3x Max)0000DO Crate (3x Max)000DO Crate (3x Max)00000
23EDO Crate (3x Max)1272127212720070EDO Crate (3x Max)0000EDO Crate (3x Max)000EDO Crate (3x Max)00000
24LE Pallet (3x Max)1272127212720096LE Pallet (3x Max)0000LE Pallet (3x Max)000LE Pallet (3x Max)00000
25Total LBS0LBS
26Remove0LBS
String Data
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D22:E24Cell Value<0textNO
D22:E24Cell Value>0textNO
C20:C24Cell Value<0textNO
C20:C24Cell Value>0textNO
D14:E16Cell Value<0textNO
D14:E16Cell Value>0textNO
C12:C16Cell Value<0textNO
C12:C16Cell Value>0textNO
D6:E8Cell Value<0textNO
D6:E8Cell Value>0textNO
C4:C8Cell Value<0textNO
C4:C8Cell Value>0textNO
 
Upvote 0
A little background. I work in shipping and receiving, but take on extra projects with any free time.
Modifying this for our own needs, did you ever happen to create that version with multiple trucks?

Thanks!
 
Last edited by a moderator:
Upvote 0
Modifying this for our own needs, did you ever happen to create that version with multiple trucks?

Thanks!
I have, actually. I've included a BOL generator, Packing slip, Commercial invoice, and USMCA. I still am trying to figure out how to make the BOL expand beyond something like 6 lines, but have been so busy, I have not been able to put in more work. There are some short-comings with it as well that I am still working on. I have set it up to work with 3 tier but it does not calculate height beyond the second row.

I am still working on a stand-alone version but I have the foundation set with what I have learned. I just have to find the time to set one up that isn't specific to my place of employment and remove everything that pertains to them.
====EDIT====
If you like, we can discus what you are looking for in more detail and I can try to modify for you.
 
Upvote 0
Awesome, I appreciate your willingness to help!

We are just looking to use it to show truck capacity with a given project. Ideally for us, it would calculate the truck's area, and each item would have it's area calculated to see if the load would fit. It appears the way it works now, it is using length exclusively. I also don't quite understand the Row 1,2,3? We have pallets, door slabs, prehungs, and trim that we are shipping. For instance, 3 pallets may fit side by side, but if that order had trim, the trim is only 3 feet wide by 16 feet long, and can also be stacked 2 high and 2 wide if there are 4 bundles, so it is misrepresented by only using length. We also have multiple trailers, it looks like you started to incorporate more trucks in the iteration you last published, but that would be amazing if it was able to disperse to another truck if it didn't fit. Not sure how the area portion would be accomplished.
 
Upvote 0
I have made a few changes since I posted this as it was confusing and a rough copy to make it work for my needs. Picture the below as if you are looking at a truck from above view. Floor, middle, top. I have this set for a max of 3 stacks. Since we are not allowed to stack on the actual crate it requires load bars. I incorporated this into the calculation for the middle. It pulls from the image to the right. If the height is over a certain amount, it will place a length in the Middle section letting you know that nothing can go above that. I have yet to work this for the top as it has not been necessary.
1707315897464.png
1707316093310.png
 
Upvote 0
That's very similar to what I envisioned for ours. We have Hardware Pallets (fit 3 wide), slabs (stack 60 high), prehungs (fit 16 width wise), doubles (stack on pallets 3 wide), and trim that is 16X3X4 (oddly shaped and can be stacked 2 high by 2 wide. The length gets me there if I know all these factors beforehand, but It would be sweet to be able to know the exact load like you have there.
 
Upvote 0
I'm going to try and establish a few things that you want.

3x wide
Up to 2 tall
How many trucks?
Provide a list of dimensions of the items that you want. This will help me to practice and fine tune as I play around.

I would have to make several more helper cells but it's not impossible. I couldn't find anything online myself so I've been making improvements as I have time. I plan on buying 365 for my personal computer at home maybe this weekend.

As is, it's still a chaotic mess but I can at least change it about. Also, you can swap the length and width if you plan on turning pallets sideways. I have to do this with one of our items sometimes as it's 90x44.
 
Upvote 0
Awesome, sorry for the delayed response, I want to make sure I get all the correct information first. I'll get it to you ASAP.

Thanks!!!
 
Upvote 0

Forum statistics

Threads
1,214,935
Messages
6,122,337
Members
449,078
Latest member
skydd

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