Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / July 2004

Tip: Looking for answers? Try searching our database.

VLOOKUP with variable "Table_Array"

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
thomaswaynemorris@comcast.ner - 31 Jul 2004 01:37 GMT
Rather than specifying a specific named array such as in Vlookup(A1,
namedarray,2,false)
I'd like the table_array value for the vlookup function to depend on which
table name appears in a specific cell.

For example, if cell A2 contains the text array1, then
VLOOKUP(A1,A2,2,FALSE) would return the value associated with array1
           if cell A2 contains the text array2, the Vlookup(A1,A2,2,false)
         would return the value associated with array2.

Thanks for the help.
Dave Peterson - 31 Jul 2004 02:02 GMT
How about:

=vlookup(a1,indirect(a2),2,false)

> Rather than specifying a specific named array such as in Vlookup(A1,
> namedarray,2,false)
[quoted text clipped - 7 lines]
>
> Thanks for the help.

Signature

Dave Peterson
ec35720@msn.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.