Excel guide · 5 min read
How to create a drop-down list in Excel
Sample data
Every result on this page was calculated from this sheet by the same spreadsheet engine the Cellwise app uses.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Task | Status | Client | Status list | Client (from orders) | ||
| 2 | Send quote | Done | Northwind | Not started | Northwind | ||
| 3 | Book site visit | In progress | Bluebird Cafe | In progress | Bluebird Cafe | ||
| 4 | Order parts | Waiting | Acme Dental | Waiting | Northwind | ||
| 5 | Draft contract | In Progress | Harper & Co | Done | Acme Dental | ||
| 6 | Invoice | done | Northwind | ||||
| 7 | Follow-up call | Bluebird Cafe | Bluebird Cafe | ||||
| 8 | Kickoff | Started | Acme Dental | Harper & Co | |||
| 9 | Acme Dental | ||||||
| 10 | Northwind |
Download this sheet as an Excel practice file (.xlsx)
Method 1: Type the items into the rule
Your team tracks tasks in a sheet, and the Status column is a mess: "Done", "done ", "In Progress", "Started". Nobody meant to make it messy. A drop-down list stops it, because people pick from a list instead of typing.
For a short list that never changes, like Yes and No or a few statuses, type the items straight into the rule. The limit is 255 characters. If commas don't work, your regional settings use another list separator, often a semicolon.
- Select the cells that get the drop-down, for example B2:B50.
- Go to Data > Data Validation (in the Data Tools group).
- On the Settings tab, set Allow to List and leave In-cell dropdown ticked.
- In Source, type Not started,In progress,Waiting,Done and click OK.
- Click a cell and use the arrow, or press Alt+Down Arrow to open the list from the keyboard.
Method 2: Point to a range, or a table that grows
For a list you'll edit, keep the items in cells. Here they sit in E2:E5. In Source, select the range or type =$E$2:$E$5. The list can live on another sheet too, like =Lists!$A$2:$A$20, which keeps it out of the way.
A plain range has one catch: add a fifth status in E6 and the drop-down doesn't see it. Turn the list into a table instead (click it and press Ctrl+T), then select the table's data cells as the Source. When you type a new item below the table, the table grows and the drop-down includes it.
Once the list exists, you can check typed data against it. =COUNTIF($E$2:$E$5,B5)>0 is TRUE for "In Progress", because COUNTIF ignores capitals, and FALSE for "done " with its trailing space.
Result: FALSE
FALSE: "done " has a trailing space, so it doesn't match anything in the list.
Method 3: A sorted list of unique values (Excel 365)
Sometimes the choices come from data you already have, like the client names in an orders log in column G. They repeat, they're out of order and one has a stray space. In Excel 365 or 2021, build the list with a formula in a spare cell, say I2.
Watch the blank row. =SORT(UNIQUE(G2:G10)) on its own returns a 0 for the empty G6 and keeps "Acme Dental " as a separate name from "Acme Dental". FILTER drops the blank and TRIM merges the twins, leaving four clean names.
In the Data Validation Source box, type =$I$2#. The # means "the whole spill", so when a new client appears in the orders the drop-down gets longer by itself.
Result: spills 4 rows × 1 column
| Acme Dental |
| Bluebird Cafe |
| Harper & Co |
| Northwind |
Acme Dental, Bluebird Cafe, Harper & Co, Northwind: four clean names, sorted, no blank, no duplicate.
Input message and error alert
Two other tabs in the same Data Validation box make the drop-down friendlier. Input Message shows a note when someone selects the cell, like "Pick the task's current status". Error Alert controls what happens when someone types something that isn't on the list.
Stop (the default) blocks the entry. Warning asks "Continue?" and lets people keep it, and Information just tells them. Use Stop when other formulas depend on exact values, such as a COUNTIF that counts "Done".
Data Validation only checks typing. A value pasted into the cell replaces the rule along with the content, and values that were there before you added the rule are never checked. To find those, use Data > Data Validation (the arrow) > Circle Invalid Data, or list them with a formula like this one.
Result: spills 2 rows × 2 columns
| Invoice | done |
| Kickoff | Started |
Invoice ("done ") and Kickoff ("Started"): the two statuses that aren't on the list.
Copy, find or remove a drop-down
To give more cells the same drop-down, copy a cell that has it, select the new cells and use Home > Paste > Paste Special > Validation. That copies only the rule, not the value.
To find every cell with a drop-down on a sheet, use Home > Find & Select > Data Validation. To remove one, select the cells, open Data > Data Validation and click Clear All, then OK. The values in the cells stay; only the arrow and the check go.
Ignore blank, on the Settings tab, is ticked by default. It lets people leave the cell empty. A blank cell inside the source range shows up as an empty choice in the list, which is another reason to keep the list in a table with no gaps.
Common mistakes
The drop-down doesn't show new items
The Source points to a fixed range like $E$2:$E$5. Put the list in a table (Ctrl+T) or use a spill reference like =$I$2#.
Pasting over the cells
A normal paste wipes the Data Validation rule. Paste values with Ctrl+Shift+V (Paste Values) or reapply the rule with Paste Special > Validation.
Trailing spaces in the source list
"Done " and "Done" look the same in the list but don't match in COUNTIF or lookups. Clean the list with TRIM, or build it with =SORT(UNIQUE(FILTER(TRIM(...)))).
No arrow on the cell
The arrow only appears on the selected cell. If it's still missing, check that In-cell dropdown is ticked in Data > Data Validation.
FAQ
How do I make a drop-down list depend on another cell?
That's a dependent drop-down: the second list changes with the first choice. In Excel 365 use a FILTER helper as the source; in any version use named ranges with INDIRECT. Our dependent drop-down guide walks through both.
Can a drop-down list allow multiple selections?
Not with Data Validation alone. It holds one value per cell. Picking several needs a VBA macro, or a different layout, such as one column per option with a Yes/No drop-down.
How do I edit the items in a drop-down list?
If the items are typed into the rule, open Data > Data Validation and change the Source text. If they come from a range or table, just edit those cells; the drop-down updates straight away.
Why is my drop-down list blank or showing 0?
The source range includes empty cells, or a formula source returns 0 for blanks. Remove the empty rows, or wrap the source in FILTER(range,range<>"") as in Method 3.
Functions used
COUNTIFCounts cells that matchSORTSorts a range, spillsUNIQUERemoves duplicates, spillsFILTERKeeps matching rows, spillsTRIMRemoves extra spaces
Related guides
- How to make a dependent drop-down list in Excel
- How to use a custom formula in Excel Data Validation
- How to create a unique list in Excel
- How to remove spaces in Excel (extra or all spaces)
- How to freeze panes in Excel
- How to count unique values in Excel
Updated