How to lookup data and round down to the lower of the return results if the lookup value falls in betwween the values in the lookup column

wpyles

New Member
Joined
Aug 8, 2013
Messages
1
I have a table full of values that I want to look up in a table like below (incomplete data set just for iillustration):


Aggregate Industry Equivalent Unit ScoreIndustry Diversity Score
00
0.050.1
0.150.2
0.250.3
0.350.4
0.450.5
0.550.6
0.650.7
0.750.8
0.850.9
0.951
1.051.05
1.151.1
1.251.15
1.351.2
1.451.25
1.551.3
1.651.35

<COLGROUP><COL style="WIDTH: 48pt" span=2 width=64><TBODY>
</TBODY>

If the value I am looking up falls in between any of the values in Column A above (Aggregate Industry Equivalent Unit Score), I want it to return the applicable lower value from Column B (Industry Diversity Score) of the two numbers that it falls in between. For example, the results would be:


Aggregate Industry Equivalent Unit ScoreIndustry Diversity Score
0.540.5
0.260.3
0.0490
1.0611.05
0.961
0.2750.3
0.5850.6
1.3151.15
1.3151.15

<COLGROUP><COL style="WIDTH: 48pt" span=2 width=64><TBODY>
</TBODY>

Is there are good formula trick for this?

Thank you.

 

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.
Hi wpyles,
Yes you can use =VLOOKUP(D2,$A$2:$B$19,2,1)
When the last parameter is set to true (in this case 1) it works like you need/described
Cheers
Sergio
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,559
Members
449,089
Latest member
Motoracer88

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