Monkeywrenchman
New Member
Hi all and thanks for any help in advance
I am trying to create a bespoke packing list for our despatch department telling then which product variants and which boxes to put onto which pallet without splitting the variant over more that 1 pallet for example
Type 1 (qty 24) on Std Pallet 1 - Type 2 (qty 54) on Euro Pallet 2 - Type 3 (qty 56) on Std Pallets 3 & 4 - Type 4 (qty 7), Type 5 (qty 9), Type 6 (qty 10), Type 7 (qty 18) all on Std Pallet 5 etc
The client requires a maximum of 48 boxes per standard palate although we can occasionally use a euro pallet of 54 boxes if required but not the preferred option and only used if necessary.
Variants cannot be split across pallets (unless their total is greater than 48 see Type 3)
Variants can share a pallet but only if the entirety of each variant is on the same pallet and not split over multiple pallets - see Types 4 -7
Pallets obviously can't be full but a minimum of 10 boxes per pallet or look to use Euro Pallet - see types 54 - 68 on spreadsheet and notes for reference only
The spreadsheet attached has my manual workings in column C for reference to the required result
I am struggling to workout either in formula or most likely javascript (novice at this too I'm afraid) a way to automatically calculate a pallet number based on the rules above - thanks in advance
I am trying to create a bespoke packing list for our despatch department telling then which product variants and which boxes to put onto which pallet without splitting the variant over more that 1 pallet for example
Type 1 (qty 24) on Std Pallet 1 - Type 2 (qty 54) on Euro Pallet 2 - Type 3 (qty 56) on Std Pallets 3 & 4 - Type 4 (qty 7), Type 5 (qty 9), Type 6 (qty 10), Type 7 (qty 18) all on Std Pallet 5 etc
The client requires a maximum of 48 boxes per standard palate although we can occasionally use a euro pallet of 54 boxes if required but not the preferred option and only used if necessary.
Variants cannot be split across pallets (unless their total is greater than 48 see Type 3)
Variants can share a pallet but only if the entirety of each variant is on the same pallet and not split over multiple pallets - see Types 4 -7
Pallets obviously can't be full but a minimum of 10 boxes per pallet or look to use Euro Pallet - see types 54 - 68 on spreadsheet and notes for reference only
The spreadsheet attached has my manual workings in column C for reference to the required result
I am struggling to workout either in formula or most likely javascript (novice at this too I'm afraid) a way to automatically calculate a pallet number based on the rules above - thanks in advance