Dependent Drop Downs

NVRensburg

Board Regular
Joined
Jul 1, 2014
Messages
108
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hello

I'm not really sure what terminology I'm needing, but based on some google searches, I'm assuming they are dependent drop downs.

So in sheet 1 I have the data. At the moment, they are coping and pasting the vendors they want to use, but I want to create sheet 2, where they can click from a drop down list, which will filter based on the selections from the previous column if that makes sense?

Sheet 1 information
Book1.xlsx
ABCD
1TradeSubtradeSubcontractorsContact
2DemolitionDemolitionAlaska Interiors Ltd - Demolition TabN/A
3DemolitioniDemoJames Rickit
4DemolitionMcMahonBrian Brown
5DemolitionMAC Group LtdAngus Mcdonald
6DemolitionToptobottomPete Walker
7DemolitionGreen GorillaJames Nguyen
8DemolitionJunk RunDavid Knight
9DemolitionKiwi Waste & RecyclingMatt Goddard
10DemolitionWaste Management LtdOffice
11DemolitionGreenWayYeong Lee
12DemolitionHazardous MaterialsAdvanced Environmental Services Kama Murray
13DemolitionGlen Henderson LtdRikki Jones
14DemolitionThe Agency Corp Ltd
15DemolitionAsbestos removalExcell Construction LimitedRaymond Excell
16DemolitionAsbestos testingProperty Risk NZ
17DemolitionWard DemolitionRandal Owles
18DemolitionNikau ContractorsMichael Stil
19DemolitionYakka Contracting LimitedBruce Levien
20DemolitionUnion DemolitionJoseph Capper
21DemolitionTBS FarnsworthDavid Leeson
22DemolitionSafety 1st RemovalsJohn Kerr
23DemolitionChemCareRob Beagle
24DemolitionATL GroupVanessa Deeney
25DemolitionMidland Environmental Ltd Vanessa Deeney
26DemolitionBurrel Demolition Alex Burrell
27DemolitionMidland Environmental Ltd Vanessa Deeney
28DemolitionAt Pace SolutionsFred Manuel
29ExcavationVuksich & Borich (NZ) LtdBruce McLean
30ExcavationPink BalugaGlenn Darrah
31ExcavationK Benson Contracting LtdClinton Okkers
32ExcavationContract Landscapes Ltd - CLLNick Rohilla
33ExcavationYakka Contracting LimitedBruce Levien
34ExcavationAuckland CivilBrad Potier
35ExcavationEarthco CivilBruce Whittaker
36ExcavationGleeson CivilNava Santharuban
37ExcavationActive ContractingMathew Butterfield & Andy Thorn
38ExcavationCivil & BuildJorge Santana
39ExcavationJWG Piling & Retaining LimitedKevin Jiang
40ExcavationDrainageScopic Drainage and Civil LtdCam Ward
41ExcavationGleeson CivilDerek Manning
42ExcavationHanlon Plumbing & DrainageJason Carr
43ExcavationExcavationFixed Cost Civil Ltd in liquidation
44ExcavationShoring / protection Grouting ServicesDavid Sharpe
45Excavation**
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:B2,C2:C45,D2Expression=SEARCH(alaska_,$C2)textYES


Sheet 2

Book1.xlsx
ABCD
1TradeSubtradeSubcontractorsContact
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Sheet2
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
to clarify for me please.
In column A you want (or already have) a drop down. And you want column B to be a drop of values filtered for the item select in column A for that row?
Do you have the list of all A and B? Can you share that or a representative sample?
 
Upvote 0
I don't have any dropdowns yet. I've tried a few things from some youtube videos but they aren't working for what I'm needing. So yes, I want column A to be a drop down, then Column b to be a dropdown based on what was selected in Column A, and column c to be a dropdown of selections based on what was selected from column B.....if that makes any sense?
 
Upvote 0
Not sure why you could not find many useful videos on this. The MyOnlineTrainingHub, Leila Gharani, Mr. Excel and ExcelIsFun channels all have some great videos on validation lists.

My question though is what are you going to do with the blank values in column B. How do you want to create list for column C if B is empty?
 
Upvote 0
I've managed to get something going but still not exactly what I'm wanting/needing.

So this is the master sheet:

Tash Subctractor Form.xlsx
NOP
5Trade
6*Structural Steel*
7Appliances & Whiteware02 Way Industries Ltd
8Carpentry4U Cabinet Makers
9CeilingsA P Hansen Engineering Limited
10Commercial CleaningAB Electrical Ltd
11Concrete Work & SelantsAble Metal Products (2007)
12DemolitionAbove Board
13Doors - Non TimberAbsolute Resurfacing
14Doors - TimberAccessman
15Electrical ServicesAccurate Ceilings
16ExcavationAccurate Painters
17Exterior WorksAccurate Waterproofing
18Fire Protection ServicesACMF
19FlooringAcoustic Design & Associated Works
20GlazingAcrow Ltd
21HardwareActivboard
22HVAC ServicesActive Contracting
23Hydraulic ServicesAdam Baker Electrical
24JoineryAdams Steelguard
25Joinery Aden Interiors
26Kitchen FitoutAdvanced Automation
27Lifts & EscalatorsAdvanced Security Ltd
28MasonryAE Smith
29MaterialsAegion concrete
30MetalworkAffin Group
31Operable WallsAffordable Scaffolding
32PaintingAFS Total
33PlasteringAgape Group
34Provisional SumsAHI Carrier (NZ) Ltd
35Roofing & CladdingAir concepts Ltd
36Security & Access Control ServicesAirco Service
37Signage & FilmAK Interiors
38Soft FitoutAkon Electrical
39Special FinishesAlex Distributors
40StoppingAline Technology Group
41Structural SteelAll Fire Passive Fire Protection
42TilingAllendale Electrical
43Timber StairsAlpha
44Toilet PartitionsAlumat
45WaterproofingAmazing Tile Contractor
46Window TreatmentsAndrew Plastering Ltd
47Andrew Property Services
Subs Contacts
Cell Formulas
RangeFormula
N6:N46N6=SORT(UNIQUE(Trade))
O6:O7O6=SORT(UNIQUE(FILTER(Subtrade, Trade='Quote Sheet'!A6)))
P6:P601P6=SORT(UNIQUE(FILTER(SUBCONTRACTOR,Subtrade='Quote Sheet'!B6)))
Dynamic array formulas.
Named Ranges
NameRefers ToCells
Alaska_Interiors_Ltd___Demolition_Tab='Subs Contacts'!$C$7:$C$926P6
Demolition='Subs Contacts'!$B$7:$B$926O6:P6
SUBCONTRACTOR='Subs Contacts'!$C$6:$C$926P6
Subtrade='Subs Contacts'!$B$6:$B$926O6:P6
Trade='Subs Contacts'!$A$6:$A$926N6:O6


And this is the quote sheet. I'm wanting to use multiple rows to select the information, but I've only got the first row right. The others are all basing the information as per the first row and the filtered information on the master sheet

Tash Subctractor Form.xlsx
ABCDEFG
1
2DO NOT USE SUBS IN GREY
3NEW SUB! - CHECK WITH SS/BH BEFORE LETTING ANYTHING SIGNIFICANT
4
5TradeSubtradeSubcontractorsContactMobileAreaEmail Address
6Structural Steel0Urban Steel
7***N/AN/AN/AN/A
8***N/AN/AN/AN/A
9***N/AN/AN/AN/A
10***N/AN/AN/AN/A
11***N/AN/AN/AN/A
12***N/AN/AN/AN/A
13***N/AN/AN/AN/A
14***N/AN/AN/AN/A
15***N/AN/AN/AN/A
Quote Sheet
Cell Formulas
RangeFormula
D7:D15D7=VLOOKUP($C7,Table2[[Subcontractors]:[E-Mail Address]],3,FALSE)
E7:E15E7=VLOOKUP($C7,Table2[[Subcontractors]:[E-Mail Address]],4,FALSE)
F7:F15F7=VLOOKUP($C7,Table2[[Subcontractors]:[E-Mail Address]],6,FALSE)
G7:G15G7=VLOOKUP($C7,Table2[[Subcontractors]:[E-Mail Address]],7,FALSE)
Named Ranges
NameRefers ToCells
Alaska_Interiors_Ltd___Demolition_Tab='Subs Contacts'!$C$7:$C$926D7:G15
CONTACT=Table2[Contact]D7:G15
SUBCONTRACTOR='Subs Contacts'!$C$6:$C$926D7:G15
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D6:G42Cell Valuecontains "N/A"textNO
Cells with Data Validation
CellAllowCriteria
A6:A42List='Subs Contacts'!$N$6#
B6:B42List='Subs Contacts'!$O$6#
C6:C42List='Subs Contacts'!$P$6#


Am I able to attach the sheet here maybe for all the formula's/formatting?
 
Upvote 0
I've managed to get something going but still not exactly what I'm wanting/needing.

So this is the master sheet:

Tash Subctractor Form.xlsx
NOP
5Trade
6*Structural Steel*
7Appliances & Whiteware02 Way Industries Ltd
8Carpentry4U Cabinet Makers
9CeilingsA P Hansen Engineering Limited
10Commercial CleaningAB Electrical Ltd
11Concrete Work & SelantsAble Metal Products (2007)
12DemolitionAbove Board
13Doors - Non TimberAbsolute Resurfacing
14Doors - TimberAccessman
15Electrical ServicesAccurate Ceilings
16ExcavationAccurate Painters
17Exterior WorksAccurate Waterproofing
18Fire Protection ServicesACMF
19FlooringAcoustic Design & Associated Works
20GlazingAcrow Ltd
21HardwareActivboard
22HVAC ServicesActive Contracting
23Hydraulic ServicesAdam Baker Electrical
24JoineryAdams Steelguard
25Joinery Aden Interiors
26Kitchen FitoutAdvanced Automation
27Lifts & EscalatorsAdvanced Security Ltd
28MasonryAE Smith
29MaterialsAegion concrete
30MetalworkAffin Group
31Operable WallsAffordable Scaffolding
32PaintingAFS Total
33PlasteringAgape Group
34Provisional SumsAHI Carrier (NZ) Ltd
35Roofing & CladdingAir concepts Ltd
36Security & Access Control ServicesAirco Service
37Signage & FilmAK Interiors
38Soft FitoutAkon Electrical
39Special FinishesAlex Distributors
40StoppingAline Technology Group
41Structural SteelAll Fire Passive Fire Protection
42TilingAllendale Electrical
43Timber StairsAlpha
44Toilet PartitionsAlumat
45WaterproofingAmazing Tile Contractor
46Window TreatmentsAndrew Plastering Ltd
47Andrew Property Services
Subs Contacts
Cell Formulas
RangeFormula
N6:N46N6=SORT(UNIQUE(Trade))
O6:O7O6=SORT(UNIQUE(FILTER(Subtrade, Trade='Quote Sheet'!A6)))
P6:P601P6=SORT(UNIQUE(FILTER(SUBCONTRACTOR,Subtrade='Quote Sheet'!B6)))
Dynamic array formulas.
Named Ranges
NameRefers ToCells
Alaska_Interiors_Ltd___Demolition_Tab='Subs Contacts'!$C$7:$C$926P6
Demolition='Subs Contacts'!$B$7:$B$926O6:P6
SUBCONTRACTOR='Subs Contacts'!$C$6:$C$926P6
Subtrade='Subs Contacts'!$B$6:$B$926O6:P6
Trade='Subs Contacts'!$A$6:$A$926N6:O6


And this is the quote sheet. I'm wanting to use multiple rows to select the information, but I've only got the first row right. The others are all basing the information as per the first row and the filtered information on the master sheet

Tash Subctractor Form.xlsx
ABCDEFG
1
2DO NOT USE SUBS IN GREY
3NEW SUB! - CHECK WITH SS/BH BEFORE LETTING ANYTHING SIGNIFICANT
4
5TradeSubtradeSubcontractorsContactMobileAreaEmail Address
6Structural Steel0Urban Steel
7***N/AN/AN/AN/A
8***N/AN/AN/AN/A
9***N/AN/AN/AN/A
10***N/AN/AN/AN/A
11***N/AN/AN/AN/A
12***N/AN/AN/AN/A
13***N/AN/AN/AN/A
14***N/AN/AN/AN/A
15***N/AN/AN/AN/A
Quote Sheet
Cell Formulas
RangeFormula
D7:D15D7=VLOOKUP($C7,Table2[[Subcontractors]:[E-Mail Address]],3,FALSE)
E7:E15E7=VLOOKUP($C7,Table2[[Subcontractors]:[E-Mail Address]],4,FALSE)
F7:F15F7=VLOOKUP($C7,Table2[[Subcontractors]:[E-Mail Address]],6,FALSE)
G7:G15G7=VLOOKUP($C7,Table2[[Subcontractors]:[E-Mail Address]],7,FALSE)
Named Ranges
NameRefers ToCells
Alaska_Interiors_Ltd___Demolition_Tab='Subs Contacts'!$C$7:$C$926D7:G15
CONTACT=Table2[Contact]D7:G15
SUBCONTRACTOR='Subs Contacts'!$C$6:$C$926D7:G15
Cells with Conditional Formatting
CellConditionCell FormatStop If True
D6:G42Cell Valuecontains "N/A"textNO
Cells with Data Validation
CellAllowCriteria
A6:A42List='Subs Contacts'!$N$6#
B6:B42List='Subs Contacts'!$O$6#
C6:C42List='Subs Contacts'!$P$6#


Am I able to attach the sheet here maybe for all the formula's/formatting?
 
Upvote 0
can you post a decent representation of complete records of data where all 3 columns are completely populated? I still don't see how you can have a drop down list with all those blanks in column B.
 
Upvote 0
Am I able to attach the whole workbook here with the 2 different sheets?
 
Upvote 0
not here. You can place on a safe share drive like dropbox or your google drive or onedrive share files.
But, I think I only need three columns with about 20-40 rows, as long as there are 3-5 different items in A, 3-5 items associated with each A item in B, and 2-3 items associated with each B in C.
 
Upvote 0
I just went and made up a bunch of values to use.
This is for Excel 365.
See if you can work with this.
1. Your Fact Data needs to be in a table (for this example COLUMNA-COLUMNC, with header names.
2. From that you need to have sorted unique values in 3 other ranges, (see columns K to M).
3. Then you build your drop downs based on columns K to M, using the "#" symbol to indicate that the range references a dynamic array.

Hope this helps.


Book1
ABCDEFGHIJKLMN
1Column AColumn BColumn CCOL A SELECTIONCOL B SELECTIONCOL C SELECTIONCOLADROPCOLBDROPCOLCDROP
2ADNBIAHAE
3ADO^^for ease and reference here, these will beBIAF
4ADPwhere the drop downs are placed on your processingBAJAG
5AEQworksheetCAH
6AER
7AES
8AFT
9AFU
10AFV
11AGW
12AGX
13AGY
14AGZ
15BHAA
16BHAB
17BHAC
18BHAD
19BIAE
20BIAF
21BIAG
22BIAH
23BJAI
24BJAJ
25BJAK
26BJAL
27BJAM
28CKAN
29CKAO
30CKAP
31CKAQ
32CLAR
33CLAS
34CLAT
35CLAU
36CLAV
37CMAW
38CMAX
39CMAY
40CMAZ
41BABBBC
Sheet1
Cell Formulas
RangeFormula
L2:L5L2=SORT(UNIQUE(TBL_LOOKUPS[Column A]))
M2:M4M2=SORT(UNIQUE(FILTER(TBL_LOOKUPS[Column B],TBL_LOOKUPS[Column A]=E2,"")))
N2:N5N2=FILTER(TBL_LOOKUPS[Column C],(TBL_LOOKUPS[Column A]=E2)*(TBL_LOOKUPS[Column B]=G2),"")
Dynamic array formulas.
Cells with Data Validation
CellAllowCriteria
E2List=$L$2#
G2List=$M$2#
I2List=$N$2#



The drop downs don't copy over with the xl2bb, I think:

1715641766401.png

1715641790183.png


1715641808214.png
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,368
Messages
6,130,205
Members
449,567
Latest member
ashsweety

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