How to add a drop-down list with data validation in Excel
In Excel for Microsoft 365 / Excel 2021–2024 (verified 2026-10-24), select the input cells, go to Data > Data Validation, choose List, and set Source to a comma list (Yes,No) or a range (=$H$2:$H$20). Click OK.
Use an Excel Table for the source list so new items appear automatically. For a fuller UI walkthrough of lists specifically, see also drop-down list.
Applies to Excel for Microsoft 365, Excel 2021/2024, Excel for Mac and Excel for the web. Data Validation also covers whole numbers, dates, custom formulas and decimal limits — not only lists.
Add a validation drop-down
Create a List rule
- Select the cells that should show the drop-down.
- Open Data > Data Validation.
- On Settings, set Allow to List.
- In Source, type
Red,Green,Blueor select a range of allowed values, then OK.
Messages and errors
- On Input Message, tick show message and write a short hint.
- On Error Alert, choose Stop / Warning / Information and custom text.
- Stop prevents invalid entries; Warning allows override.
Maintain the source list
- Put allowed values in a sheet column and convert to a Table (Ctrl+T).
- Point Source at the table column (or a named range — see named ranges).
- To clear rules: Data Validation > Clear All.
Beyond lists
| Allow | Example use |
|---|---|
| Whole number | Age between 1 and 120 |
| Date | Start date ≥ today |
| Custom formula | =LEN(A2)=5 for codes |
| List | Status / category pickers |
Our take: pair list validation with Protect Sheet so users cannot paste over the rules casually.
If it fails
- Data Validation greyed out: sheet protected, or you are editing inside a cell — Esc first.
- Drop-down missing on some cells: validation was applied to a smaller range — extend with Paste Special > Validation.
- List does not expand: source was a fixed range — use a Table or dynamic named range.
- Pasted values bypass rules: Paste Special Values can ignore validation until you re-enter — protect the sheet.
Frequently asked questions
How do I add a drop-down list in Excel?
Data > Data Validation > Allow: List > set Source > OK.
Can the list come from another sheet?
Yes — point Source at that sheet's range or a named range.
How do I remove data validation?
Select cells > Data Validation > Clear All.
Why is Data Validation greyed out?
The sheet may be protected, or Excel is in edit mode.
Data validation vs dependent drop-downs?
Dependent lists need named ranges or FILTER formulas — start with a single list first.