Software & OS

How to Set Up a Drop Down List in Excel (Step by Step)

To set up a drop down list in Excel, select the cell, open Data > Data Validation, choose List in the Allow box, and enter your items in the Source box. You can point Source at a range of cells or type the items separated by commas, then click OK.

The steps below follow Microsoft's documentation for Excel on Windows. The Data Validation dialog is also available in Excel for the web and on macOS, with slightly different menu locations (listed further down).

Step 1: Type the list items in a column

Enter each item in its own cell, in a single column or row with no blank cells. Microsoft recommends sorting the list first, because the drop down shows the items in the order they appear in the source.

The better habit is to turn the list into an Excel table: click any cell in the list and press Ctrl+T. Drop downs built on a table pick up added and removed items automatically (see the editing section below). Leave the header cell out when you choose the source in step 3.

The list can live on the same sheet or on another one. Microsoft's own example keeps the list on a sheet named Cities, in cells A2:A9, and suggests hiding and protecting that sheet if you do not want other people to view or change the list.

Step 2: Open the Data Validation dialog

  1. Select the cell (or cells) where the drop down should appear.
  2. Go to the Data tab and select Data Validation.
  3. On the Settings tab, open the Allow box and select List.

Where the command lives varies by version. In Excel for the web it is under Data Tools > Data Validation. On macOS it is under Tools, as Data Validation or Validate.

Step 3: Choose the Source

The Source box accepts the list in one of three ways. Pick the one that fits how often the list changes.

MethodWhat to do in the Source boxBest for
Cell rangeClick in the box, then select the cells that hold the items (for example A2:A9)Lists you edit now and then
Typed itemsType the items separated by commas: Fruit,Vegetables,Grains,Dairy,SnacksShort lists that never change, such as Yes,No,Maybe
TableSelect the table's entry cells, excluding the headerLists that grow over time

If the list is on another sheet, switch to that sheet while the Source box is active and select the cells there. Excel fills in the reference for you.

Step 4: Set the two checkboxes

  • In-cell dropdown: keep this ticked. It is what makes the small arrow appear next to the cell. If you clear it, the cell is still restricted to the list, but nobody gets an arrow to pick from.
  • Ignore blank: tick it if people are allowed to leave the cell empty. Clear it if the cell must be filled in.

Click OK. Select the cell and a drop down arrow appears. Click the arrow and choose an item.

Add a message that tells people what to pick (optional)

On the Input Message tab, tick the option to show a message when the cell is selected, then enter a title and a message. Both are limited to 225 characters. A short hint such as "Choose a region from the list" appears as a small note whenever someone clicks the cell.

Decide what happens when someone types a wrong value

On the Error Alert tab, tick the option to show an alert after invalid data is entered, then choose a Style. This setting decides how strict the list is.

StyleBehavior
StopBlocks any entry that is not in the list
WarningShows a message and lets the person choose whether to keep the entry
InformationShows a message, then allows the entry

Enter a title and an error message so people know what went wrong. If you leave them blank, Excel uses its defaults: the title "Microsoft Excel" and the text "The value you entered is not valid. A user has restricted values that can be entered into this cell." Choose Stop when the value feeds formulas or reports and must match exactly. Choose Warning or Information when the list is only a convenience.

Microsoft's separate Data Validation page labels the third style as "Important" in one place and "Information" in another. The names above match the Create a drop-down list page. If the dialog in your version words it differently, the behavior is the same: it warns but does not block.

How to add or remove items later

  • List is in a table: add a new row at the bottom of the table, or delete a row. Drop downs based on the table update automatically.
  • List is a plain range: change the values in the source cells. If you add items beyond the end of the range, reopen Data Validation and edit the range in the Source box so it includes them.
  • List is typed in the Source box: reopen Data Validation and edit the comma-separated text.

To open the dialog again, select the cell that holds the drop down, then go to Data > Data Validation. If you want the same drop down on more cells, select all of them before you open the dialog in the first place.

Check the drop down shows every item

Microsoft suggests checking that the column width and row height are large enough to display all your entries. If long items look cut off in the cell, widen the column.

If Data Validation is greyed out

Microsoft's documentation says you cannot change data validation settings if the workbook is shared or the sheet is protected. Unprotect the sheet or stop sharing the workbook, then try again. On macOS, the same two conditions apply. If you only want to leave some cells editable on a protected sheet, Microsoft suggests unlocking those specific areas instead.

Check what people entered against the list

A drop down controls what goes into a cell, but you often need to check existing data against a list too, for example a column pasted in from another file. For that, see Excel check if value is in list, which covers COUNTIF, MATCH and XLOOKUP formulas that return a yes or no for each row.

Common mistakes

  • Including the header in the source. The header then shows up as a choice. Select only the entry cells.
  • Leaving blank cells inside the list range. Blank rows appear as empty choices. Keep the list continuous, or use a table.
  • Choosing Warning when you need exact values. Anyone can click through a Warning and keep a value that is not on the list. Use Stop for fields that must match.

Frequently asked questions

Can I type the drop down items directly instead of using a cell range?
Yes. In the Data Validation dialog, set Allow to List and type the items in the Source box separated by commas, for example Fruit,Vegetables,Grains,Dairy,Snacks. This is quick for short lists that rarely change. For longer lists, a cell range or a table is easier to maintain.
How do I make the drop down list update when I add new items?
Put the list items in an Excel table (select the range and press Ctrl+T) and base the drop down on the table's entry cells. Microsoft's documentation says drop-downs based on a table update automatically when you add or remove items. With a plain range, you have to edit the range in the Source box yourself.
Why is Data Validation greyed out?
The sheet is probably protected, or the workbook is shared. Microsoft's documentation says you cannot change data validation settings in either case. Unprotect the sheet or stop sharing the workbook, then try again.
Can people still type something that is not in the list?
It depends on the Error Alert style. With Stop, Excel blocks any entry that is not in the list. With Warning or Information, Excel shows a message but still allows the entry.

Sources