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.


ABC
Min WeightMax WeightCost
1200.00209.99$10
2210.00219.99$12
3220.00229.99$14

<tbody>
</tbody>
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Assuming D1 as your lookup value cell:

=INDEX(A2:C4,MATCH(D1,A2:A4,1),3)
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,120
Members
451,399
Latest member
alchavar

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