Weights and prices dilemma

Damo71

Board Regular
Joined
Aug 17, 2010
Messages
88
Hi

I have a question that I’m going to find difficult to explain in a few words, so please persevere and be patient if you're good at problem solving.

The issue is this:

I have parcels that I send out every day - on average about 600. The parcel weights vary greatly. Some are 20 grams, others are 2kg.

Each item to be sent is in column A, and its weight is in column B.

The couriers I use charge in price bands by average weight per sack. For example: If the average weight of the contents of one sack is, say, 99 grams, then all products in that sack are charged at the 100g price band. But if the average weight is 101 grams, then all items are charged at the next band up (which in this case is 250g, the next band again is 500g, then 750 and so on).

Also, the bags hold a maximum weight of 8kg.

Is there a formula or macro or solver of some sort that can tell me the best configuration to get the cheapest overall price? Next to each item it would place (in column C) a bag number to sort that parcel into.

My IT team has so far drawn a blank because we are sending some sacks out with an average weight of, say, 140g, then another at 350g.

It would work out cheaper for us if some of the items in the latter sack were placed in the former sack until its weight was close to 250g.

The weight of the latter sack would go up - but we have 150g to play with before the price per item increases, so it's not so important.

Hopefully someone can give me an idea.

Thanks
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
I would think a massive Solver would work. I would make the top of columns C-Z (or the max shipments per day) sum up the values below them. Below would be the weights of your B column. Make the max of your sums your breakpoints (like 10 for each) and at the end of your C-Z columns, do a count of the sums across. The main point of your solver would be to minimize that number. Not sure if this is worded nicely, but may get your started.
 
Upvote 0

Forum statistics

Threads
1,224,550
Messages
6,179,459
Members
452,915
Latest member
hannnahheileen

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