Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
reference range in other sheet | Excel Discussion (Misc queries) | |||
Data range reference in a cell | Charts and Charting in Excel | |||
Are there any shortcuts to typing range names? | Excel Discussion (Misc queries) | |||
Excel Range Names | Excel Discussion (Misc queries) | |||
Adding to a range in a reference? | New Users to Excel |