#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 155
Default Range naming

I have a range that I have named "RANGE1". I can do a vlookup on this range
by putting the range name in the formula instead of the actual range. Is it
possible to place the word RANGE1 in a cell (say A1) and then reference the
cell A1 in the formula? I want to be able to change what the vlookup looks
for by changing the range name in A1.

Thanks!

Squeaky
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 347
Default Range naming

Hi,

Yes, use:

INDIRECT(A1) istead of the range name.

HTH
Jean-Guy

"Squeaky" wrote:

I have a range that I have named "RANGE1". I can do a vlookup on this range
by putting the range name in the formula instead of the actual range. Is it
possible to place the word RANGE1 in a cell (say A1) and then reference the
cell A1 in the formula? I want to be able to change what the vlookup looks
for by changing the range name in A1.

Thanks!

Squeaky

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 155
Default Range naming

Worked like a charm.

Thanks pinmaster.

"pinmaster" wrote:

Hi,

Yes, use:

INDIRECT(A1) istead of the range name.

HTH
Jean-Guy

"Squeaky" wrote:

I have a range that I have named "RANGE1". I can do a vlookup on this range
by putting the range name in the formula instead of the actual range. Is it
possible to place the word RANGE1 in a cell (say A1) and then reference the
cell A1 in the formula? I want to be able to change what the vlookup looks
for by changing the range name in A1.

Thanks!

Squeaky

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
Excel Addin:Setting the range to the Excel.Range object range prop Rp007 Excel Worksheet Functions 5 November 24th 06 04:30 PM
Dynamic naming of range needed XXL User Excel Worksheet Functions 2 August 3rd 06 08:26 PM
Duplicate Range Names by worksheet FlaAl Excel Discussion (Misc queries) 0 May 24th 06 05:14 PM
Help with using range names in sum function soteman2005 Excel Worksheet Functions 2 November 28th 05 04:43 PM
Array to named range conversion... i-Zapp Excel Discussion (Misc queries) 4 October 25th 05 09:09 PM


All times are GMT +1. The time now is 08:42 PM.

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

About Us

"It's about Microsoft Excel"