Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 64
Default reference to range names

Hi,

I have a drop down box that refers to named ranges. Depending on the name
that is picked in the drop down, I need to retrieve data from a named range.
The range will change and I need to refer to the new range. The formula I am
using is like this:

=VLOOKUP(B5,range,3,FALSE)

I want to change the "range" to a cell link where the name of the range I
want to use will be....which will change based on user selection.

Hope this makes sense.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 95
Default reference to range names

You can write the name of the range in a cell (say A1) and change the formula
to:
=VLOOKUP(B5,INDIRECT(A1),3,FALSE)
Changing the value of A1 between your valid names will change the range you
are looking at in the formula.

Hope this helps,
Miguel.

"Duane" wrote:

Hi,

I have a drop down box that refers to named ranges. Depending on the name
that is picked in the drop down, I need to retrieve data from a named range.
The range will change and I need to refer to the new range. The formula I am
using is like this:

=VLOOKUP(B5,range,3,FALSE)

I want to change the "range" to a cell link where the name of the range I
want to use will be....which will change based on user selection.

Hope this makes sense.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 64
Default reference to range names

Thanks. That was exactly what I needed.

"Miguel Zapico" wrote:

You can write the name of the range in a cell (say A1) and change the formula
to:
=VLOOKUP(B5,INDIRECT(A1),3,FALSE)
Changing the value of A1 between your valid names will change the range you
are looking at in the formula.

Hope this helps,
Miguel.

"Duane" wrote:

Hi,

I have a drop down box that refers to named ranges. Depending on the name
that is picked in the drop down, I need to retrieve data from a named range.
The range will change and I need to refer to the new range. The formula I am
using is like this:

=VLOOKUP(B5,range,3,FALSE)

I want to change the "range" to a cell link where the name of the range I
want to use will be....which will change based on user selection.

Hope this makes sense.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 380
Default reference to range names

Use a list of ranges, like M1:N10,O1:P10, etc. and a formula of

=VLOOKUP(B5,INDIRECT(D1),2,FALSE)

where D1 is the DV cell

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Duane" wrote in message
...
Hi,

I have a drop down box that refers to named ranges. Depending on the name
that is picked in the drop down, I need to retrieve data from a named

range.
The range will change and I need to refer to the new range. The formula I

am
using is like this:

=VLOOKUP(B5,range,3,FALSE)

I want to change the "range" to a cell link where the name of the range I
want to use will be....which will change based on user selection.

Hope this makes sense.



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
reference range in other sheet Diana Excel Discussion (Misc queries) 1 July 12th 06 05:34 PM
Data range reference in a cell Craig Charts and Charting in Excel 0 October 20th 05 02:19 PM
Are there any shortcuts to typing range names? KG Excel Discussion (Misc queries) 8 June 20th 05 03:33 PM
Excel Range Names trainer2000 Excel Discussion (Misc queries) 1 May 20th 05 08:42 PM
Adding to a range in a reference? LilaDuncan New Users to Excel 2 February 7th 05 03:12 PM


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