How to create a multi row dynamic dependent drop down list in excel
Tutor 5 (112 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
Creating a multi-row dynamic dependent drop-down list in Excel allows users to select values in one column that automatically adjust the options in another column. This setup is common for managing categories and subcategories, such as selecting a product type and then a specific product.
Step 1: Organize Your Data
Create a clear table structure for your data.
Example:
| Category | Subcategory |
|---|---|
| Fruit | Apple |
| Fruit | Banana |
| Fruit | Orange |
| Vegetable | Carrot |
| Vegetable | Broccoli |
Name the ranges for each category to make formulas dynamic:
Select the subcategory list for
Fruitand name itFruitin the Name Box.Select the subcategory list for
Vegetableand name itVegetable.
Step 2: Create the Primary Drop-Down List
Select the cells where you want the main category drop-down.
Go to Data → Data Validation → Data Validation.
Under Allow, select List.
In Source, enter your main categories separated by commas:
Fruit,Vegetable
Click OK.
Now, your first column has a drop-down list for the main category.
Step 3: Create the Dependent Drop-Down List
Select the cells where you want the subcategory drop-down.
Go to Data → Data Validation → Data Validation.
Under Allow, select List.
In Source, enter the formula:
=INDIRECT(A2)
Replace
A2with the first cell of your primary category column.
This formula uses the selection in the main category to pull the correct subcategory list dynamically.
Step 4: Make the List Multi-Row Dynamic
Select multiple rows in your subcategory column.
Apply the same Data Validation → List → =INDIRECT(A2).
Excel will automatically adjust the formula for each row, creating a dynamic dependent drop-down for multiple rows.
Step 5: Test the Drop-Down List
Select a category in the first column.
Click the drop-down in the adjacent cell. Only the subcategories corresponding to the chosen category will appear.
Repeat for multiple rows to confirm that the dynamic behavior works.
Step 6: Optional – Make it Fully Dynamic
Use Excel Tables to automatically expand the list when new data is added:
Convert your data into a table by pressing Ctrl + T.
Use the OFFSET function to make your named ranges dynamic:
=OFFSET(Sheet1!$B$2,0,0,COUNTA(Sheet1!$B:$B)-1,1)
This automatically adjusts the subcategory list if new items are added.
Notes on Windows vs Mac
The steps for Data Validation are identical on both Windows and Mac.
On Mac, the Name Box may behave slightly differently, but naming ranges work the same way.
Example Scenario
Primary Drop-Down (Column A): Fruit, Vegetable
Dependent Drop-Down (Column B):
If
Fruitis selected → Apple, Banana, OrangeIf
Vegetableis selected → Carrot, Broccoli
This setup ensures that multiple rows can be used without manually entering formulas for each row.
. Was this Helpful?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 is drop down list not showing in excel
Answers · 0
Why is the drop down list not showing all options
Answers · 1
Why can't I delete drop down list excel
Answers · 1
How to create an Excel drop-down list from a lookup table
Answers · 1