Skip to content

Dependent Dropdown Lists

Premiumadvanced 15 min4 tasks0/60 pts

A dependent dropdown changes with the choice next to it: pick Fruit in column A and column B offers only fruit. Give each item list a name that matches its category exactly (select E2:E5, type Fruit in the Name Box). Then set column B’s validation source to =INDIRECT(A2). INDIRECT turns the text in A2 into a reference to the range with that name. Because A2 is relative, row 3 uses A3, row 4 uses A4 and so on.

Syntax

Data validation → List → Source: =$E$1:$G$1 (categories) · Source: =INDIRECT(A2) (items for that row’s category)

Example: With A3 = Dairy and the name Dairy pointing at G2:G4, the dropdown in B3 offers Milk, Cheese and Yogurt.

Common mistakes

  • A category name that does not match the range name exactly (names cannot contain spaces, so use Soft_drinks for “Soft drinks”).
  • Typing =INDIRECT($A$2): every row then follows A2’s category.
  • Adding the item validation before the category is filled in. The list is empty until there is a category.

Read the lesson, then try it yourself in a live spreadsheet.