Function Problems

Create an Excel Dependent Drop-Down List with Data Validation

Rana GarciaRana Garcia Nov 25, 2026 870 views

Question details

Create an Excel data-validation list containing values whose corresponding entries match a selected index.

Create an Excel Dependent Drop-Down List with Data Validation
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.
Before you start

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.

Solution 1Recommended

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.

1
Create the filtered list

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.

2
Name the spill range

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.

3
Apply data validation

Select the drop-down cell, open Data > Data Validation, choose List under Allow, and enter =DVList in the Source box. Click OK.

4
Test the selection

Change the value referenced by Index, then open the drop-down to check that it shows the corresponding TankSort values.

Use FILTER and a named spill range in newer Excel versions
When there are no matches: The formula returns an empty result when no entries match Index, so the drop-down will not contain a matching value. Use semicolons instead of commas in formulas if your regional settings require them.
Free Microsoft Office alternative

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.

Use spreadsheet data validation to create list-based drop-downs.Open and save Microsoft Excel XLS and XLSX files.Work in a familiar spreadsheet interface.Use a free, lightweight office suite for everyday documents.
QA img-9

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.