Create Dependent Drop-Down Lists Across an Excel Column
Question details
Create dependent drop-down lists that show options based on the category selected in the same row.

- 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.
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.
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.
Enter each category's options in a separate range. For example, place fruit choices in one range and vegetable choices in another.
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.
Select D2:D50, or a larger range if needed, with D2 as the active cell. Exclude the header row.
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.
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.

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. Prepare the lists: Open your workbook in WPS Spreadsheets and enter each category's choices in a separate cell range.
- 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. Add data validation: Select D2:D50, then open Data > Data Validation. Choose List and enter =INDIRECT(C2) as the source.
- 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.

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.




