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 Using Value of a Cell in the Range Reference in VLOOKUP

I am trying to use the value of cell to be the reference to a named range in
a VLOOKUP function:

=VLOOKUP(Value,$A$2,A1,false)

in cell A2 would be entered the named range value, i.e., "Data"

I know that I can use references for the lookup and the offset values. Any
ideas? Can I automate VLOOKUP with this much flexibility?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 265
Default Using Value of a Cell in the Range Reference in VLOOKUP

Use the INDIRECT function. Replace...

$A$2

with

INDIRECT($A$2)

Hope this helps!

http://www.xl-central.com

In article ,
Yangtze wrote:

I am trying to use the value of cell to be the reference to a named range in
a VLOOKUP function:

=VLOOKUP(Value,$A$2,A1,false)

in cell A2 would be entered the named range value, i.e., "Data"

I know that I can use references for the lookup and the offset values. Any
ideas? Can I automate VLOOKUP with this much flexibility?

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 with range reference PsyberFox Excel Discussion (Misc queries) 4 February 11th 08 07:03 PM
VLOOKUP using a tab name to reference the lookup range timmulla Excel Discussion (Misc queries) 3 July 23rd 07 05:57 PM
VLOOKUP variable range cell reference Ohp Excel Worksheet Functions 2 July 3rd 07 02:52 PM
Vlookup - dynamic range reference? aseanor Excel Discussion (Misc queries) 7 August 17th 06 11:32 PM
use a cell to reference a range in a vlookup Dan Excel Discussion (Misc queries) 4 July 27th 05 07:36 PM


All times are GMT +1. The time now is 01:43 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"