Skip to content
AnIntent

How to Create a Drop-Down List in Excel With Data Validation

Add a drop-down list to an Excel cell with Data Validation, keep the header out of the choices, and fix a greyed-out Data Validation button.

AnIntent Editorial · · 3 min read

laptop computer on glass-top table
Photo by Carlos Muza on Unsplash
In this article
  1. Build the drop-down in four steps
  2. Leave the header out of the range
  3. Typed list or cell range: which to use
  4. Data Validation is greyed out
  5. What this guide doesn't cover
Share this article

An Excel drop-down list limits a cell to choices you define, which keeps typos and stray values out of your data. Here is how to build one with Data Validation, and what to check when the button won't respond.

Microsoft's support page lists these steps for Excel for Microsoft 365 (Windows and Mac), Excel 2024, Excel 2021, Excel 2019 and Excel 2016.

Build the drop-down in four steps

  1. Type your list entries. Put them in a single column or row with no blank cells. Microsoft says it is ideal to put them in an Excel table.
  2. Select the cell where you want the drop-down to appear.
  3. Open Data Validation. Go to the Data tab. Under Data Tools (or Tools), select Data Validation (or Validate). The names differ slightly between versions.
  4. Point the dialog at your list. Use the range that holds your entries. For a short list, you can type the entries directly into the data validation tool instead of using cells.

The cell now offers your entries as choices.

Leave the header out of the range

If your list has a header row, such as "Status" above "Open", "Closed" and "Pending", don't select it as part of the source. According to Microsoft, if you leave the header row out of the source range, the header won't show up as a choice.

Since blank cells aren't allowed in the list, clean the source column first. If it was pasted in from somewhere else, removing duplicates stops the same option from appearing twice.

Typed list or cell range: which to use

Typing entries straight into the dialog is fine for a handful of fixed options, like Yes and No.

For anything longer, or anything you expect to change, keep the entries in cells. Microsoft recommends an Excel table for list items.

Data Validation is greyed out

This is the most common snag. If you can't select Data Validation, Microsoft says the worksheet might be protected or shared. Turn off protection or sharing for that sheet, and the button should become available. Add the drop-down, then turn protection or sharing back on if you need it.

What this guide doesn't cover

These related tasks aren't covered here:

  • Dependent drop-downs, where the second list changes based on the first.
  • Lists stored on another sheet.
  • Character or item limits. Community threads on Microsoft Learn Q&A, like this one, discuss limits on typed lists. Those are user answers, not official documentation.
  • Excel for the web, which isn't in the "applies to" list on Microsoft's page.

For these, start with Microsoft's data validation page.

Once the drop-down is filling cells with consistent values, you can match those values against another table with XLOOKUP.

Common questions

Why can't I click Data Validation in Excel?

Microsoft says the worksheet might be protected or shared. Turn off protection or sharing for that sheet, add the drop-down, then turn it back on if you need it.

Can I type the list items instead of using cells?

Yes. For a short list, Microsoft says you can type the entries directly into the data validation tool.

How do I stop the column header from showing up in the drop-down?

Leave the header row out of the source range. Microsoft says it then won't show up as a choice.

Which Excel versions do these steps apply to?

Microsoft's page lists Excel for Microsoft 365 (Windows and Mac), Excel 2024, Excel 2021, Excel 2019 and Excel 2016.

Can I change the message shown when someone types an invalid entry?

Yes. Use the Error Alert tab in the same Data Validation dialog.

A close up of a hard drive in a case
Buying guide

How to Choose an M.2 SSD for PS5: Check Heatsink Height Before Speed

Sony's PS5 SSD rules, explained: which specs matter, why heatsink thickness trips people up, and why you needn't pay for speed beyond 5,500 MB/s.

· 6 min

Keep reading