How to add a drop-down list with data validation in Excel

Updated · DeskHowTo

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.

Jump to

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

  1. Select the cells that should show the drop-down.
  2. Open Data > Data Validation.
  3. On Settings, set Allow to List.
  4. In Source, type Red,Green,Blue or select a range of allowed values, then OK.

Messages and errors

  1. On Input Message, tick show message and write a short hint.
  2. On Error Alert, choose Stop / Warning / Information and custom text.
  3. Stop prevents invalid entries; Warning allows override.

Maintain the source list

  1. Put allowed values in a sheet column and convert to a Table (Ctrl+T).
  2. Point Source at the table column (or a named range — see named ranges).
  3. To clear rules: Data Validation > Clear All.

Beyond lists

AllowExample use
Whole numberAge between 1 and 120
DateStart date ≥ today
Custom formula=LEN(A2)=5 for codes
ListStatus / 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.

Sources checked: Microsoft Support: Apply data validation to cells. Verified October 2026.