LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Picking a name from a list

If your DV (data validation) droplist names are defined ranges (named ranges),
try wrapping INDIRECT around the DV cell,
Eg: = VLOOKUP(B2,INDIRECT(A2),2,0)
where A2 contains the droplist for the named ranges,
which would be used as the table array in the vlookup

If the DV is just to select text, then it should work as-is, unless there
are extraneous white spaces within the names returned by the DV throwing the
matching off, Wrap TRIM around it,
Eg: =VLOOKUP(TRIM(A2), ....)
where A2 contains the droplist for the names
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"qjumper" wrote:
I would like to pick a name from a drop down list and use the selected name
in a formula.

I have set up the names and entered the values. I have created the drop down
list but whenever I try to use the name selected my formula does not treat
the selection as a name.

Could anyone help.
--
Qjumper

 
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
Picking second high from a list The Greek Excel Discussion (Misc queries) 1 March 17th 08 03:19 PM
Picking the list from data yshridhar Excel Worksheet Functions 2 November 13th 07 06:46 AM
Picking every monday from a list of dates Arne Hegefors Excel Discussion (Misc queries) 6 August 3rd 06 03:59 PM
how do i sort a list from cells by picking a specific letter? abecus Excel Discussion (Misc queries) 2 July 4th 06 02:47 PM
Picking Values from a list babygoode Excel Worksheet Functions 4 September 2nd 05 03:20 PM


All times are GMT +1. The time now is 08:35 AM.

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"