Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default Vlookup with a pick list for tables

In Vlookup function for the table array argument, I would like to use a pick
list for the table that will be used. In other words, the customer will
select from a list of named table ranges.
=VLOOKUP(F34,(Select from Drop down list of table ranges),3,FALSE)
It seems when I select from the pick-list cell, with the named table ranges,
it uses this name as a value instead of the array. How can I specify that
this value is a named range?

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default Vlookup with a pick list for tables

On Thu, 16 Jul 2009 08:48:04 -0700, Cole
wrote:

In Vlookup function for the table array argument, I would like to use a pick
list for the table that will be used. In other words, the customer will
select from a list of named table ranges.
=VLOOKUP(F34,(Select from Drop down list of table ranges),3,FALSE)
It seems when I select from the pick-list cell, with the named table ranges,
it uses this name as a value instead of the array. How can I specify that
this value is a named range?

Thanks



Use the INDIRECT function.

If H1 is a cell with data validation applied.
The list of valid data can be ranges, .like
A1:C10,D1:E15, and so on

Then put this formula in the cell where you want the result:

=VLOOKUP(F34,INDIRECT(H1),3)

Hope this helps / Lars-ÅKe

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
Vlookup using a dropdwn list, check different tables based on drop Manny Excel Worksheet Functions 2 April 26th 09 10:21 PM
HOW DO I CREATE A DROPDOWN PICK LIST FROM A VLOOKUP with multiple NSH Excel Worksheet Functions 1 June 11th 08 09:08 PM
Look up list of values based on single value from pick list Donal P Excel Discussion (Misc queries) 3 August 13th 07 08:43 PM
Making pick list conditional on selection from previous pick list Stewart Excel Discussion (Misc queries) 1 June 27th 05 11:30 AM
Pick List Alex M Excel Discussion (Misc queries) 1 January 11th 05 01:30 PM


All times are GMT +1. The time now is 10:26 PM.

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

About Us

"It's about Microsoft Excel"