Function Problems

Create Dependent Drop-Down Lists Across an Excel Column

Amos GikundaAmos Gikunda Nov 25, 2026 869 views

Question details

Create dependent drop-down lists that show options based on the category selected in the same row.

Create Dependent Drop-Down Lists Across an Excel Column
Product
Microsoft Excel
Device & OS
not provided
Scenario
Column C contains category selections, and column D should offer a matching list of choices for each row.
Observed behavior
Each cell in column D should display options from the named range corresponding to the category in column C.
Before you start

Prepare a separate range of choices for each category and make sure the category names are valid Excel defined names. The example uses categories in column C and dependent lists starting in D2.

Solution 1Recommended

Use Named Ranges and INDIRECT for Row-Specific Lists

Apply one data validation rule to a range in column D so each row uses its own category in column C.

1
Create the source lists

Enter each category's options in a separate range. For example, place fruit choices in one range and vegetable choices in another.

2
Name each range

Select each source range and use Formulas > Define Name to give it a workbook-level name that exactly matches its category value in column C, such as Fruit or Vegetable.

3
Select the target cells

Select D2:D50, or a larger range if needed, with D2 as the active cell. Exclude the header row.

4
Set the validation rule

Choose Data > Data Validation. Under Settings, select List in the Allow box and enter =INDIRECT(C2) in the Source box. Click OK. Do not add dollar signs to C2.

5
Test multiple rows

Select a category in C2 and open the drop-down in D2. Repeat in another row to confirm that its list follows the category in that row.

Use Named Ranges and INDIRECT for Row-Specific Lists
If Excel reports a source error: If C2 is blank when you create the rule, Excel may say the source evaluates to an error. Choose Yes to continue, then select a valid category in C2 before testing D2.
Try it in WPS Spreadsheets

Create Dependent Drop-Down Lists in WPS Spreadsheets

Use named ranges, data validation, and INDIRECT in WPS Spreadsheets to give each row a drop-down list based on its category.

  1. 1. Prepare the lists: Open your workbook in WPS Spreadsheets and enter each category's choices in a separate cell range.
  2. 2. Define range names: Select each list and use the Formulas tab's Define Name command to assign a name matching its category value in column C.
  3. 3. Add data validation: Select D2:D50, then open Data > Data Validation. Choose List and enter =INDIRECT(C2) as the source.
  4. 4. Check the results: Select a category in C2 and open the drop-down in D2. Test another row to verify that the reference adjusts.
Create row-specific dependent lists with INDIRECTOpen and edit Microsoft Excel XLSX filesUse familiar spreadsheet formulas and menusWork with a free, easy-to-use Office suite
microsoft office alternative - wps office

Frequently Asked Questions

Why is my dependent drop-down list blank?

Check that the category in column C matches a defined name and that the named range contains choices. In Excel, open Formulas > Name Manager to inspect the names and their referenced ranges.

Why shouldn't I use $C$2 in the source formula?

The source =INDIRECT($C$2) always refers to C2. Using =INDIRECT(C2) lets the reference adjust for each row in the selected validation range.

Can category names contain spaces?

Excel defined names cannot contain spaces. For a category such as Fresh Fruit, define the range as Fresh_Fruit and use =INDIRECT(SUBSTITUTE(C2," ","_")) as the validation source.

What happens if I change a category after selecting a dependent value?

Changing the category in column C does not automatically clear an existing value in column D. Review or clear the dependent cell and select a new value from its drop-down.