If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Vlookup Using a Reference as a Table Array
I want to use a cells value as my Table Array since the file that I am using
for the lookup varies. For example, I put the Table Array value in column C, and I want to do a Vlookup in column B. I want something like this in column B: =VLookup($A2, $C2, 2, False) - where C2 contains a valid table array. How do I need to reference C2 to make it use the value in C2? Thank you! |
#2
|
|||
|
|||
Vlookup Using a Reference as a Table Array
In article ,
EmJa wrote: I want to use a cells value as my Table Array since the file that I am using for the lookup varies. For example, I put the Table Array value in column C, and I want to do a Vlookup in column B. I want something like this in column B: =VLookup($A2, $C2, 2, False) - where C2 contains a valid table array. How do I need to reference C2 to make it use the value in C2? Thank you! Try... =VLOOKUP($A2,INDIRECT($C2),2,FALSE) -- Domenic http://www.xl-central.com |
Thread Tools | |
Display Modes | |
|
|