IF formula based on weights and dimensions

Arigato123

New Member
Joined
Jan 19, 2022
Messages
4
Office Version
  1. 2021
Platform
  1. Windows
Hello,

I have the length, width, height, and weights of products. The parameters are based on the Royal Mail pricing structure, which is as follows, the first price is 1st Class and the second is 2nd class.

Letter 100g: 72p, 47p
Large Letter 100g: £1.14, 87p (MAX DIMENSION DEPTH 25MM)
250g: £1.60, £1.21(MAX DIMENSION DEPTH 25MM)
500g: £2.05, £1.59(MAX DIMENSION DEPTH 25MM)
750g: £2.87, £2.19 (MAX DIMENSION DEPTH 25MM)
Small Parcel 1kg: £3.68, £3.00 (MAX DIMENSIONS 160 X 450 X 350)

Please note anything above 1.5KG I intend to send with a courier.

I would like to create a formula that would enter into the cell the price of the postage based on the rates above. My sheet is below:

Dropship Master List 23022022 (Mr Excel).xlsx
ABCDE
1 Height (cm) Length (cm) Width (cm) Weight (kg) Column1
22.6024.009.000.24
32.6024.009.000.27
45.0031.5011.001.54
56.0035.5012.001.02
65.0021.5011.000.54
74.3028.009.500.42
83.0016.202.500.41
95.0013.0026.501.08
103.0016.502.500.40
115.0013.0026.501.30
123.0016.502.500.41
134.5021.5011.000.56
143.0011.0021.000.62
154.5021.5011.000.60
Dropship Master List
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
There is nothing in the raw data to tell us whether something is a Letter or a Large Letter. Also the raw data doesn't have a field for 'Depth'.
 
Upvote 0
There is nothing in the raw data to tell us whether something is a Letter or a Large Letter. Also the raw data doesn't have a field for 'Depth'.
If you take the “depth” (this is taken directly from the Royal Mail rate card hence the difference in diction) to be height from my data this should clear things up.

In the data I have added there wouldn’t be anything that is classed as letter as nothing is less than 100g.

Ideally the formula would look at the data and calculate that if it’s depth/height is greater than 25mm then it’s not a large letter and then if it’s between 500g and 750g the cost is 2.05 or 1.59 depending on class.

The aim is to get the cost, the method doesn’t matter as long as we know how much it’s going to cost.

Thanks.
 
Upvote 0

Forum statistics

Threads
1,224,552
Messages
6,179,487
Members
452,917
Latest member
MrsMSalt

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