How to do interlinked Drop Down

huztin

New Member
Joined
Aug 20, 2011
Messages
3
I would like to do a do dual drop down. So say there is a list of people A, B, C, D, E...each like say colors red, blue, green. I woud like a dropdown1 to select the color, and then the dropdown2 would show only the names of people that like color selected in dropdown 1.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
1) Groups of colors in column A
2) Names that go with the colors in column B

3) A named range called Colors that is the list of colors, in the example below the named range REFERS TO: E1:E3

4) Apply the data validation to G3:
Allow: List
Source: =Colors


5) Select RED from the G3 list prior to doing the next step.

6) Click on H3 (important for this to work)

7) Open the Insert > Name > Define and create a dynamic named formula called Names that
REFERS TO: =OFFSET(INDEX(Sheet1!$B:$B, MATCH(Sheet1!$G1, Sheet1!$A:$A, 0)), , , COUNTIF(Sheet1!$A:$A, Sheet1!$G1), )

8) When done, open the DV settings for H3 and use:
Allow: List
Source =Names


All done....

Excel Workbook
ABCDEFGHI
1RedBobRed
2RedSamGreenListList2
3RedSarahBlueRed
4GreenTommy
5GreenBob
6GreenSandy
7GreenCarl
8GreenPhil
9BlueCarl
10BlueSam
11BluePhil
12
13
14
Sheet1
#VALUE!
 
Upvote 0
Thank you for your response. I tried this as suggested with only difference that for item 7, i went to Formulas>Define Name as there was nothing under Insert

Doing this when i select Red in List1, it still gives me all the people name in List2 instead of just the people associated with List1

Thanks again for your time and help
 
Upvote 0
1) What's the validation source for your List2 cell?

2) If it's a named function, what is the Refers To: definition for that named function?
 
Upvote 0

Forum statistics

Threads
1,224,524
Messages
6,179,308
Members
452,904
Latest member
CodeMasterX

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top