![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Feb 2002
Posts: 18
|
Hi All!
I am using a VLOOKUP thus =VLOOKUP(A1,TABLEONE,3,0), where TABLEONE is a named range in an adjacent sheet. I have a series of named ranges, TABLEONE, TABLETWO, TABLETHREE, etc and depending on which set of data I am using determines which table to reference. I wish to change the range the VLOOKUP uses by just changing a reference cell, say B1. =VLOOKUP(A1,"CELL B1",3,0), eg if B1 contents were "TABLETWO" then resulting VLOOKUP would be =VLOOKUP(A1,TABLETWO,3,0) SO basically I wish to change the range in the series of VLOOKUPS by changing just cell B1 Any ideas appreciated. Cheers!! |
|
|
|
|
|
#2 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Hi
I covered this sort of thing in my last months newsletter. You can see it here: http://www.ozgrid.com/News/Archive.htm Under Issue 10. basically you use the INDIRECT and CHOOSE function |
|
|
|
|
|
#3 |
|
New Member
Join Date: Feb 2002
Posts: 18
|
Thanks David!
Strange you replied, as I was just looking at you site and requested training info. Thanks again Lucky (Craig O'Loughlin) |
|
|
|
|
|
#4 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
Must be an Omen
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|