Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 07-02-2009, 06:00 PM
martynduerden martynduerden is offline
Registered User
 
Join Date: 07 May 2009
Location: Chesham,England
MS Office Version:Excel 2003 (11.5612.5606)
Posts: 28
martynduerden is becoming part of the community
Question Lookup range for list

Please Register to Remove these Ads

Hello,

I am creating a list with Data>Validation>Allow>list and it requests the source for the list- all OK, but the list produced needs to depend on other factors, I have several named range's containing different lists.

I need to insert in the "list Source" box a cell reference, which contains a the name of the range ie "list46" and for the source to recognise this as a list to produce

Is it possible to lookup a named range to produce a list?

Sorry about the explanation very difficult to put in to words!

Cheers

Martyn

Last edited by martynduerden; 07-02-2009 at 06:17 PM.
Reply With Quote
  #2  
Old 07-02-2009, 06:05 PM
JBeaucaire's Avatar
JBeaucaire JBeaucaire is offline
Forum Guru
 
Join Date: 21 Mar 2008
Location: Bakersfield, CA
MS Office Version:2003 (can read 2007 files)
Posts: 9,379
JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay JBeaucaire makes giving solutions look like childsplay
Send a message via Skype™ to JBeaucaire
Re: Lookup range for list

These are called Dependent Drop Down lists and they use named ranges and INDIRECT() references in the proceeding drop boxes.

Here's a sample sheet I've posted showing how it's done. The sheet "CHOICES" has the dependent drop lists (and shows one of the dangers of using them) and the sheet "LISTS" shows the lists and named ranges in use.

Have a look.

Sample Files
http://www.excelforum.com/attachment...ndentlists.xls 3 levels
http://www.excelforum.com/attachment...dentlists2.xls 2 levels
http://www.excelforum.com/attachment...elfsorting.xls Self-Sorting lists of fruits by color choices

More reading:
http://www.contextures.com/xlDataval02.html
http://www.contextures.com/xlDataVal13.html
__________________
If you've been given good help, use the icon in that post to give reputation feedback, it is appreciated.
Always put your code between [code] and [/code] tags.
“None of us is as good as all of us” - Ray Kroc
“Actually, I *am* a rocket scientist.” - JB (little ones count!)
Reply With Quote
  #3  
Old 07-02-2009, 06:18 PM
martynduerden martynduerden is offline
Registered User
 
Join Date: 07 May 2009
Location: Chesham,England
MS Office Version:Excel 2003 (11.5612.5606)
Posts: 28
martynduerden is becoming part of the community
Thumbs up Solved

Excellent reading thank you very much.

Martyn
Reply With Quote
  #4  
Old 07-03-2009, 10:49 AM
excelkeechak's Avatar
excelkeechak excelkeechak is offline
Valued Forum Contributor
 
Join Date: 21 Jul 2008
Location: PLANET EARTH
MS Office Version:2003 /2007
Posts: 262
excelkeechak is becoming part of the community
Re: Lookup range for list

but how about using the same in user forms.
Reply With Quote
  #5  
Old 07-03-2009, 10:54 AM
martynduerden martynduerden is offline
Registered User
 
Join Date: 07 May 2009
Location: Chesham,England
MS Office Version:Excel 2003 (11.5612.5606)
Posts: 28
martynduerden is becoming part of the community
Re: Lookup range for list

Quote:
Originally Posted by excelkeechak View Post
but how about using the same in user forms.
Sorry not sure I follow you ?
Reply With Quote
  #6  
Old 07-05-2009, 12:44 AM
excelkeechak's Avatar
excelkeechak excelkeechak is offline
Valued Forum Contributor
 
Join Date: 21 Jul 2008
Location: PLANET EARTH
MS Office Version:2003 /2007
Posts: 262
excelkeechak is becoming part of the community
Re: Lookup range for list

i m searching for the same from many days. if any body got the sol pls do post it.
Reply With Quote


Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump