|  

» Retrieving Values Using Range Names as References

Problem:

First3 and Last3 are the defined Names for ranges A2:A4 and A5:A7 respectively.
We want to create a formula that will look up each of the values listed in column B for one of the names listed in column C.

Solution:
Use the VLOOKUP and INDIRECT functions as shown in the following formula:
=VLOOKUP(B2,INDIRECT(C2),1,FALSE),1,FALSE)

Screenshot // Retrieving Values Using Range Names as References
Retrieving Values Using Range Names as References


Rate This Tip
12 34 5
Rating: 2.93     Views: 17425
Shoddy editing in mass mailing?
canesbr
An Exceltip.com email (spam?) directs on to a page
[url]http://www.exceltip.com/st/Looking_Up_A_Value_In_A_Name_Range/878.html[/url]
Which shows a wrong formula
=VLOOKUP(B2,INDIRECT(C2),1,FALSE),1,FALSE)
compared to the formula in this topic
=VLOOKUP(B2,INDIRECT(C2),1,FALSE)
Also, it shows column A but doesn't show what's in columns B and C.
Click here to post comment
For Registered Users
Name
Comment Title
Comments