A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Vlookup Using a Reference as a Table Array



 
 
Thread Tools Display Modes
  #1  
Old April 21st, 2009, 04:46 PM posted to microsoft.public.excel.worksheet.functions
EmJa
external usenet poster
 
Posts: 1
Default 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  
Old April 21st, 2009, 04:58 PM posted to microsoft.public.excel.worksheet.functions
Domenic[_2_]
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
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:33 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.