Fix #REF! Errors in Dependent Excel Drop-Down Lists
Question details
Fix dependent Data Validation lists that return #REF! when INDIRECT refers to a dynamically expanding named range.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user wants a dependent drop-down list to update its options based on a parent selection and an expanding source list.
- Observed behavior
- The dependent list returns #REF! when INDIRECT is combined with a volatile named range.
Check that the parent and dependent values are arranged in matching rows and identify an empty area for a helper formula. The spill-range solution requires an Excel version that supports FILTER, UNIQUE, and dynamic arrays, such as Microsoft 365.
Use a Filtered Spill Range for the Dependent List
Use this approach in Microsoft 365 to replace a problematic INDIRECT and named-formula combination with a range of filtered choices.
This example assumes parent values are in A2:A100, corresponding dependent values are in B2:B100, the parent selection is in D2, and the dependent drop-down will be in E2. Adjust the references to match your worksheet.
In an empty cell such as G2, enter =IFERROR(UNIQUE(FILTER($B$2:$B$100,($A$2:$A$100=$D$2)*($B$2:$B$100<>""))),""). Leave the cells below G2 empty so the results can spill.
Select E2 and open Data > Data Validation. Under Settings, choose List and enter =$G$2# in the Source box, then select OK.
Choose a parent value in D2, then open the drop-down in E2 and verify that it shows the corresponding values. Clear E2 before changing D2 to avoid leaving an incompatible selection.
If your data grows beyond row 100, edit the ranges in the G2 formula to include the new rows, or use suitable Excel table column references.

Check the Existing Named Range and INDIRECT Reference
Use this check if you want to keep the existing list setup and identify where the reference becomes invalid.
Work With Spreadsheet Lists in WPS Office
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and support for Microsoft Office formats, making it easier to move existing files. It does not fix Excel-specific Data Validation behavior.

Frequently Asked Questions
Why does INDIRECT return #REF! in my dependent list?
INDIRECT returns #REF! when its text does not identify a valid reference. Check the text it receives and inspect the defined name under Formulas > Name Manager. A named formula may also fail to provide a usable Data Validation list source in this setup.
How do I use a spill range as a drop-down source?
Create the list with a formula such as FILTER in an empty cell. Then select the dependent cell, open Data > Data Validation, choose List, and enter a spill reference such as =$G$2# in Source.
Will Excel clear the dependent selection when I change the parent?
Not automatically in this setup. Clear the dependent cell before changing the parent selection so an old, incompatible value is not left in place.
Why is my filtered drop-down empty?
Check that the parent selection matches values in the filter range and that the corresponding dependent cells are not blank. Also check the helper cell for a spill error caused by content blocking the results.




