How to create dependent drop down list in excel
Tutor 5 (295 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
A dependent drop-down list is a list in which the options in a second drop-down menu change based on the selection made in the first drop-down menu. This is useful for data entry, ensuring accuracy, and reducing errors.
Steps to Create a Dependent Drop-Down List
-
Prepare Your Data
Organize the data in a table format. For example:Category Item
Fruits Apple
Fruits Banana
Fruits Orange
Vegetables Carrot
Vegetables Spinach
Vegetables Broccoli
Ensure that each main category has a unique name and that items are listed under their respective categories.
-
Create Named Ranges for Each Category
-
Select the items under one category (e.g., Apple, Banana, Orange).
-
Go to the Formulas tab → Define Name.
-
Enter the name exactly as the main category (e.g.,
Fruits). -
Repeat this for all categories.
-
-
Create the First Drop-Down List
-
Select the cell where you want the first drop-down (e.g., A1).
-
Go to Data → Data Validation → Data Validation.
-
In the Allow box, choose List.
-
In the Source box, type your main categories separated by commas (e.g.,
Fruits,Vegetables) or select the range containing them. -
Click OK.
-
-
Create the Dependent Drop-Down List
-
Select the cell for the dependent drop-down (e.g., B1).
-
Go to Data → Data Validation → Data Validation.
-
Choose List in the Allow box.
-
In the Source box, type the formula:
This links the second drop-down to the selection in A1.
-
Click OK.
-
-
Test Your Drop-Down Lists
-
Select a main category from the first drop-down.
-
Click the second drop-down. Only the items under the selected category should appear.
-
Notes and Tips
-
Names in Named Ranges must match exactly with the first drop-down values, including spaces. Replace spaces with underscores if necessary.
-
INDIRECT is not case-sensitive but is sensitive to spelling and spacing.
-
For long lists, consider storing main categories and items in a separate worksheet for organization.
-
On Mac, the steps are identical, but the Data Validation dialog may have slightly different layout names depending on the Excel version.
Advanced Variation
To allow dynamic dependent lists that automatically update when items are added:
-
Convert your item lists into Excel Tables.
-
Use the formula:
This allows spaces in main categories while maintaining proper named range references.
This method ensures structured, error-free data entry, especially in large spreadsheets where multiple dependent choices are necessary.
. Was this Helpful?Related Questions
Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
Why are margins not working
Answers · 1
Why is page layout not working
Answers · 1
How to print repeated rows on top in excel
Answers · 1
How to print header on each page
Answers · 1