#1   Report Post  
Pete
 
Posts: n/a
Default Drop Down List

is it possible to have different dropdown lists appear
depending on value in cell to the left of where you have
your dropdown list. e.g

if A1 = "LP" then b1="Dropdownlist1"
if A1 = MP then b1="Dropdownlist2"

etc etc

Hope you can help

Pete
  #2   Report Post  
Debra Dalgleish
 
Posts: n/a
Default

There are instructions for dependent data validation lists he

http://www.contextures.com/xlDataVal02.html


Pete wrote:
is it possible to have different dropdown lists appear
depending on value in cell to the left of where you have
your dropdown list. e.g

if A1 = "LP" then b1="Dropdownlist1"
if A1 = MP then b1="Dropdownlist2"

etc etc

Hope you can help

Pete



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

  #3   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

Into data validation list's source enter the formula
=IF($A1="LP",Dropdownlist1,IF($A1="MP",Dropdownlis t2,""))
where Dropdownlist1 and Dropdownlist2 are named ranges.

Or, when you have to cope with many sublists, then maybe you arrange them as
matrix on separate sheet (p.e. Lists), like
LP MP ....
lp1 mp1 ....
lp2 mp2 ....
.... ... ...

Now define the named range for data validation lists source as dynamic named
range, like (on fly, so you have to test it yourself, but I hope you get the
idea)
YourList=OFFSET(Lists!$A$2,0,MATCH($A1,Lists!$A$1: $Z$1,0)-1,COUNTIF(OFFSET(L
ists!$A2,0,MATCH($A1,Lists!$A$1:$Z$1,0)-1,100,1),"<")-1,1)

Or, when all sublists are always of same length, you can use INDEX function
to get a single column from matrix (instead of OFFSET)


Arvi Laanemets


"Pete" wrote in message
...
is it possible to have different dropdown lists appear
depending on value in cell to the left of where you have
your dropdown list. e.g

if A1 = "LP" then b1="Dropdownlist1"
if A1 = MP then b1="Dropdownlist2"

etc etc

Hope you can help

Pete



  #4   Report Post  
Pete
 
Posts: n/a
Default

Brilliant Debra, Exactly what I want thanks.

-----Original Message-----
There are instructions for dependent data validation

lists he

http://www.contextures.com/xlDataVal02.html


Pete wrote:
is it possible to have different dropdown lists appear
depending on value in cell to the left of where you

have
your dropdown list. e.g

if A1 = "LP" then b1="Dropdownlist1"
if A1 = MP then b1="Dropdownlist2"

etc etc

Hope you can help

Pete



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

.

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
How do you create a drop down list? Aviator Excel Discussion (Misc queries) 2 December 28th 04 03:07 PM
edit a drop down list paulp Excel Discussion (Misc queries) 1 December 22nd 04 03:20 PM
Drop dow list complication Ryan Excel Discussion (Misc queries) 2 December 16th 04 07:49 PM
autocomplete from a drop down list Dude Excel Discussion (Misc queries) 1 December 8th 04 03:29 AM
Drop down list Jinxy Excel Discussion (Misc queries) 3 November 29th 04 12:34 PM


All times are GMT +1. The time now is 11:39 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"