Sub topic 3
Drive a Drop-down from a Cell Range
Assume you can select ranges, enter basic formulas, use absolute and relative references, and refer to another sheet with syntax such as Lists!A2:A. Google Sheets data validation uses rules to control or guide what users enter. A drop-down from a range gets its options from existing cells instead of storing the items directly in the rule.
This is useful when the list changes often or when several drop-downs should use the same options.
Prepare the source range
Create a list on the same sheet or on a separate sheet. For example, create a sheet named Lists and enter these values in A2:A5:
Not started
In progress
Blocked
DoneKeep one option in each cell. Avoid a header in the range unless you want that header to appear as an option. A source range can contain blank cells, but blank options can make the drop-down confusing.
Create the drop-down from a range
To apply the list to cells on another sheet:
- Select the target cells, such as
Tasks!C2:C100. - Open Data > Data validation.
- Select Add rule if the side panel does not open with a new rule.
- In Apply to range, confirm that
Tasks!C2:C100is selected. - For Criteria, choose Drop-down from a range.
- Enter
Lists!A2:A5as the source range. - Choose whether invalid values should be rejected or shown as a warning.
- Select Done.
The cells in Tasks!C2:C100 now display the values from Lists!A2:A5 as drop-down choices.
The rule stores a reference to the source range. It does not copy the values into every target cell. If you edit Lists!A3, the corresponding choice changes in the drop-down. If you add a new item below A5, it will not appear unless the rule’s source range includes that cell.
Use a larger or open-ended range
To leave room for future options, use a range such as Lists!A2:A100 instead of Lists!A2:A5. This lets you add items later without editing the validation rule. However, unused cells in that range may create blank choices.
You can also use an open-ended range such as Lists!A2:A. This includes all cells from A2 downward. It is convenient for growing lists, but it can include accidental entries or unwanted blank space. A bounded range gives you tighter control.
| Source range | Behavior | Best use |
|---|---|---|
| `Lists!A2:A5` | Includes only four cells | A stable, fixed list |
| `Lists!A2:A100` | Leaves room for additions | A list expected to grow |
| `Lists!A2:A` | Includes all rows below A2 | A maintained list with an open end |
Maintain the source list
Treat the source range as part of the spreadsheet’s structure. Put it on a protected or clearly named sheet, such as Lists, so users know where the choices come from. Keep option spelling and capitalization consistent. For example, do not use both In progress and In Progress unless they represent different values.
If you move or rename the source sheet, inspect the validation rule afterward. Google Sheets often updates references when you move sheets, but checking the rule prevents a broken or unintended list.
A range-based drop-down controls the choices shown to users. It does not automatically remove duplicates from the source range, sort the choices, or prevent someone from editing the source cells. Clean the source list separately when those properties matter.
Exercise
Exercise
Your source options are in Lists!B2:B10, and the target cells are Tasks!D2:D50. Which range should you enter for the validation rule, and what happens when you change Lists!B4?
Show answer
Enter Lists!B2:B10. The value in Lists!B4 changes in the drop-down choices for the target cells because the rule reads the source range.