Create an Excel Dependent Drop-Down List with Data Validation
Question details
Create an Excel data-validation list containing values whose corresponding entries match a selected index.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user is converting a LibreOffice Calc formula to Excel and wants a dependent drop-down based on two corresponding named ranges.
- Observed behavior
- The desired drop-down should display values from TankSort only when the corresponding value in ProduktSort matches Index.
Check that TankSort and ProduktSort are one-column named ranges with the same number of rows and that Index refers to the selected value. Choose an empty helper column with enough space for the matching results.
Use FILTER and a named spill range in newer Excel versions
Use this method if your Excel version supports the FILTER function and dynamic arrays.
On Sheet1, enter =FILTER(TankSort,ProduktSort=Index,"") in an empty cell such as H2. Leave the cells below H2 empty so the results can spill.
Open Formulas > Name Manager > New. Name the range DVList and set Refers to to =Sheet1!$H$2#, adjusting the sheet name and cell if needed.
Select the drop-down cell, open Data > Data Validation, choose List under Allow, and enter =DVList in the Source box. Click OK.
Change the value referenced by Index, then open the drop-down to check that it shows the corresponding TankSort values.

Use an AGGREGATE helper list in older Excel versions
Use this method if FILTER is unavailable but your version supports AGGREGATE.
Work with Spreadsheet Drop-Down Lists in WPS Office
WPS Office is a free, lightweight, easy-to-use alternative for working with spreadsheets. Its familiar interface and Microsoft Excel format compatibility make it easier to move existing workbooks between office suites. It does not change Excel's data-validation behavior.

Frequently Asked Questions
Why can't I put the IF array formula directly in the validation source?
Excel's Data Validation list source does not usually accept an array IF expression directly. Put the results in a helper range, then reference that range by name in Data > Data Validation.
Will the drop-down update when the selected index changes?
Yes. When Index changes and Excel recalculates, the FILTER or AGGREGATE helper formulas update. Open the drop-down again to see the current matching values.
What does the # symbol mean in the named range?
In a reference such as =Sheet1!$H$2#, the # refers to the entire dynamic array spilled from H2. The range expands or contracts as the FILTER results change.
Why does FILTER show a spill error?
Check the cells below the FILTER formula and clear anything blocking its results. The helper formula also needs enough unobstructed space for every matching value.




