View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Domenic[_2_] Domenic[_2_] is offline
external usenet poster
 
Posts: 265
Default 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