How to determine a value from an associated range?

Badmojoman1977

New Member
Joined
Apr 25, 2011
Messages
3
Hi all,

I've seen a few flavors of this question asked, but not quite what I'm looking to do (maybe I missed it somewhere).

I have a table that contains a column with low value, a column that contains high values, and a column with an associated text field. Here's an example:

Low High Name
0 10000 John
10001 20000 David
20001 30000 Mike
30001 40000 Steve
...
100001 200000 Frank



On a separate sheet, I have a column of values. What I'm looking to do is, for each value, determine which range it falls in and pull in the associated name.

For example:

Value Associated Name
20983 Mike
932 John
39281 Steve

How can I create a formula or VBA module to pull in the associated names?

Thanks in advance!
 
Thanks Peter
I did pick that up, that's why I recommended Biffs approach in preference to mine.
Sorry Michael, I had misread your post slightly. I thought you had implied that both formulas could be used equally well. I have read it more carefully now. :)
 
Upvote 0

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,224,522
Messages
6,179,297
Members
452,903
Latest member
Knuddeluff

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