Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup - using a cell to reference a named array Ronin Excel Worksheet Functions 3 May 14th 08 06:26 PM
Replacing a Table-array with a cell reference in vlookup Allan Excel Worksheet Functions 4 January 15th 08 01:57 PM
VLOOKUP keeping array lookup reference rebdk Excel Discussion (Misc queries) 3 July 4th 06 08:46 PM
use cell reference,whose contents= a table array name for Vlookup Sonic Excel Worksheet Functions 2 March 27th 06 08:29 AM
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM


All times are GMT +1. The time now is 05:28 AM.

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

About Us

"It's about Microsoft Excel"