Function Problems

Fix Relative Named Ranges for Excel Dependent Drop-Down Lists

Phi Hung VoPhi Hung Vo Dec 2, 2026 868 views

Question details

The user needs dependent Excel drop-down lists to reference the correct values as the selected primary item changes.

Fix Relative Named Ranges for Excel Dependent Drop-Down Lists
Product
Microsoft Excel
Device & OS
not provided
Scenario
A data validation list uses a named range or spilled reference to retrieve options associated with a primary-list selection.
Observed behavior
Relative references in named formulas can be interpreted based on the active cell, causing validation lists to show inconsistent or incorrect values.
Before you start

Identify the primary selection cell, the dependent drop-down cell, and the rows containing their corresponding options. Select the first dependent drop-down cell before defining a name with relative references.

Solution 1Recommended

Use a Relative Named Formula to Match the Correct Source Row

Use this approach when each primary item has a corresponding row of dependent options.

The example uses one worksheet: primary selections are in column A, dependent drop-downs are in column B, item labels are in G51:G60, and their options are in H51:K60. Replace these references with your actual ranges.

The source row has a fixed width, so blank cells within that row can appear as blank options. This approach does not require a spilled-range reference.

1
Select the first dependent cell

Click B2, the first cell where you want the dependent drop-down. Selecting it establishes the reference point for the relative row in the name.

2
Define the named formula

Go to Formulas > Name Manager > New. Name the formula DependentList and enter =INDEX($H$51:$K$60,MATCH($A2,$G$51:$G$60,0),0) in Refers to. Keep the source ranges absolute and the row in $A2 relative.

3
Apply data validation

With B2 selected, go to Data > Data Validation, choose List, and enter =DependentList in Source. Click OK.

4
Copy and test

Copy B2 and use Paste Special > Validation on the other cells in column B. Change the selections in column A and open each dependent drop-down to check that it shows the matching row.

5
Check the reference point

If the results are offset, select B2 again and inspect DependentList under Formulas > Name Manager. Confirm that the relative reference points to $A2 from B2 and that MATCH can find each primary selection in G51:G60.

Use a Relative Named Formula to Match the Correct Source Row
Match source values exactly: If a primary selection is missing from the label range, MATCH returns an error and the dependent list cannot resolve. Check for spelling differences and extra spaces.
Free Microsoft Office alternative

Work with Spreadsheet Drop-Downs in WPS Office

WPS Office is a free, lightweight Office alternative with a familiar spreadsheet interface. Open compatible Excel files and continue working with your data in WPS Spreadsheets; check complex formulas and validation rules after migration.

Create and edit spreadsheet data validation listsOpen and save Microsoft Excel XLSX filesUse a familiar interface for everyday spreadsheet tasksMove compatible Office documents into a lightweight suite
microsoft office alternative - wps office

Frequently Asked Questions

Why does my named range point to the wrong row?

Relative references in a name depend on the active cell when the name is defined or edited. Select the first dependent cell, then check the formula under Formulas > Name Manager.

Can I use a spilled range as a data validation source?

In a version of Excel that supports dynamic arrays, select the validation cell and enter a spill reference such as =$H$51# under Data > Data Validation > List > Source. The reference points to the entire spill beginning at H51.

Why does the dependent list show an error for a selection?

The MATCH formula needs an exact match in the label range. Check the selected value and the corresponding source label for spelling differences or extra spaces.

Will copying a validation rule create a separate spill for each row?

No. A fixed source such as =$H$51# continues to refer to the same spill. Create and reference a suitable spill for each selection, or use a relative named formula that matches the appropriate source row.