Forumla to Find Shipping Cost from Weight

daleyelland

New Member
Joined
Jan 18, 2018
Messages
2
Hi all,

Having a thick moment here and can't get my head round something that I'm sure is really simple. In Sheet1, I have a table of items and the weight of the item is in column X.

In Sheet2 I have a table of shipping costs depending on weight. The table is below.

[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 112"]
<tbody>[TR]
[TD="width: 112"]Item Weight Min[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 114"]
<tbody>[TR]
[TD="width: 114"]Item Weight Max[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 90"]
<tbody>[TR]
[TD="width: 90"]Cost[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD]0[/TD]
[TD]150[/TD]
[TD]1.66[/TD]
[/TR]
[TR]
[TD]151[/TD]
[TD]400[/TD]
[TD]1.72[/TD]
[/TR]
[TR]
[TD]401[/TD]
[TD]900[/TD]
[TD]1.77[/TD]
[/TR]
[TR]
[TD]901[/TD]
[TD]1400[/TD]
[TD]2.19[/TD]
[/TR]
</tbody>[/TABLE]

Say for example an item weighs 100 it would cost 1.66, 500 would cost 1.77 etc. I need a formula that assigns a group for each weight, eg. 100 = 0-150, and then gives the cost at the end

Many thanks
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Perhaps you look for this?


Excel 2010
ABCDEFG
1Item Weight MinItem Weight MaxCost
201501.66Weight:100
31514001.72Cost:1.66
44019001.77
590114002.19
Sheet4
Cell Formulas
RangeFormula
G3=LOOKUP(G2,A2:A5,C2:C5)
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,286
Members
452,631
Latest member
a_potato

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