How to create a drop down list in excel based on another cell
Tutor 5 (134 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
To create a dependent drop-down list in Excel, define named ranges and use Data Validation with a dynamic formula that changes based on the value selected in another cell.
Step 1: Prepare the source data
Create a structured list where each group of related items is placed in its own column, and each column has a unique header.
Place category names in the first row.
Enter related items under each category header.
Ensure headers contain no spaces or special characters.
Clear structure enables Excel to resolve references without ambiguity.
Step 2: Create named ranges
Convert each column of related items into a named range using its header name.
Select the data under one header.
Open the Name Box.
Type the header name exactly as written.
Press Enter.
Repeat for every category.
Named ranges create a stable reference layer for dependent logic.
Step 3: Create the primary drop-down list
Build the controlling drop-down that determines the available options in the second cell.
Select the target cell.
Open Data → Data Validation.
Choose List under Allow.
Set the source to the category headers.
Confirm the selection.
The primary list defines the dependency condition.
Step 4: Create the dependent drop-down list
Link the second drop-down to the first cell using a formula-based reference.
Select the dependent cell.
Open Data → Data Validation.
Choose List under Allow.
Enter the following formula as the source:
=INDIRECT(A1)
Confirm the selection.
The formula resolves the named range that matches the selected category.
Step 5: Handle spacing or text mismatches
Use consistent naming to avoid reference errors.
Replace spaces in headers with underscores.
Match the primary drop-down values exactly to named ranges.
Avoid leading or trailing spaces.
Text consistency ensures formula resolution.
Does this method work on Windows and Mac?
Yes. The steps and formulas function identically on Windows and MacBook versions of Excel.
Menu paths remain consistent, though keyboard shortcuts differ by operating system.
Can this be done without named ranges?
Yes. Structured tables and dynamic arrays support dependent lists through advanced formulas.
This approach increases maintenance complexity and reduces transparency.
Named ranges remain the most reliable method for long-term stability.
What causes a dependent drop-down list to fail?
A dependent drop-down fails due to mismatched text, invalid names, or missing source data.
Common causes include:
Category names containing spaces without alignment to named ranges.
Blank cells within named ranges.
Deleted or moved source data.
Each issue breaks the reference chain required for validation.
Is the INDIRECT function volatile?
Yes. INDIRECT recalculates whenever any change occurs in the workbook.
Performance impact remains negligible for small to medium datasets.
Large models benefit from table-based alternatives.
Key technical reference
The dependency logic relies on Excel resolving a text string into a valid range reference using:
\text{INDIRECT}(\text{selected\_text})
This mechanism enables dynamic list behavior without macros.
. 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
How to freeze a row in excel
Answers · 1
How to freeze the top three rows in excel
Answers · 1
How to freeze the top two rows in excel
Answers · 1
How to freeze top row excel mac
Answers · 1