Looking up a Number between a list

Sorigel

New Member
Joined
Nov 27, 2012
Messages
10
I have a list with three columns. One has the min weight and the other the max wieght. I want to find the easiest way to return a value on a third column cost.

So if i were to enter 221 it would return $14. I found a similar problem with a vlookup solution but that lookup value was one or the other in columns a or be. In my example however the look up value might also fall in between.


[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Min Weight[/TD]
[TD]Max Weight[/TD]
[TD]Cost[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]200.00[/TD]
[TD]209.99[/TD]
[TD]$10[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]210.00[/TD]
[TD]219.99[/TD]
[TD]$12[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]220.00[/TD]
[TD]229.99[/TD]
[TD]$14[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,223,237
Messages
6,170,924
Members
452,366
Latest member
TePunaBloke

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