
A drop-down list limits a cell to the values you choose. Typos such as "Sales", "sales" and "Sales " disappear, and filters and PivotTables start working the way you expect. In Excel the feature lives under Data Validation.
Create a basic drop-down list
- Select the cells that should get the list (for example B2:B200).
- Go to Data > Data Validation.
- In the Allow box choose List.
- In Source, type the values separated by commas:
Sales,Marketing,Finance,HR - Click OK.
An arrow appears next to the cell when you select it. If someone types a value that is not on the list, Excel shows an error.
Tip: Some regional versions of Excel use a semicolon as the list separator. If all values appear as one item, switch commas to semicolons.
Pull the list from a range
Keeping the values on a separate sheet makes maintenance easier.
- Create a sheet called "Lists" and type the departments in A2:A10.
- In Data Validation, set Source to
=Lists!$A$2:$A$10.
To change the options later, you only edit that sheet.
A list that grows automatically
A fixed range ignores values you add below it. The cleanest fix is an Excel Table:
- Select the values on the Lists sheet and press Ctrl + T.
- On the Table Design tab, name the table "Departments".
- Use this as the Data Validation source:
=INDIRECT("Departments[Department]")When you add a row to the table, the drop-down list expands with it. In Microsoft 365 you can also create a sorted, unique list in a helper cell with =SORT(UNIQUE(Departments[Department])) and point the source to the spill range, for example =$D$2#.
Dependent (cascading) drop-down lists
To show only the cities of the country chosen in the first list:
- Put each country's cities in its own column, with the country name as the header.
- Select each column and use Formulas > Create from Selection > Top row to name it.
- Set up the country list in A2.
- For B2 use Data Validation > List > Source:
=INDIRECT(A2)
The options in B2 now change with the country in A2. Names cannot contain spaces, so call a range "United_Kingdom" and make the first list use the same spelling, or wrap the reference: =INDIRECT(SUBSTITUTE(A2," ","_")).
Input messages and error alerts
Two tabs in the Data Validation dialog improve the experience:
- Input Message shows a hint when the cell is selected ("Choose your department").
- Error Alert decides what happens on invalid input. Stop blocks it, while Warning and Information only warn.
Common problems
| Problem | Fix |
|---|---|
| No arrow appears | Tick "In-cell dropdown" in Data Validation |
| New values are missing | Base the source on a Table |
| Pasting removes the rule | Use Paste Special > Validation or protect the sheet |
| Dependent list shows #REF! | The range name must match the first list exactly |
To find cells that already have rules, use Home > Find & Select > Data Validation. To remove a rule, select the cells and click Clear All in the Data Validation dialog.
Step-by-step example: a dependent (country → city) drop-down in an order form
- Set up a data sheet: A1:A3 "Turkey, Germany, UK"; under each country a list of cities (Turkey: Istanbul, Ankara; Germany: Berlin, Munich).
- Name the ranges: name each city list after the country (for example
Turkey,Germany). Avoid spaces and accented characters. - Country cell (B2): Data > Data Validation > List > Source
=Countries. - City cell (C2): List > Source
=INDIRECT(B2). - Test: changing B2 should change the list in C2.
- Set the error alert to "Stop" to block wrong entries.
- Add an input message: "Pick from the list."
- Copy the rows down; if you make a table (Ctrl + T) the validation extends automatically (see our Excel tables guide).
In Microsoft 365 a more flexible alternative is to build a dynamic source range with =FILTER(...) and give the source as a spilled range like =D2#.
Common traps
| Problem | Cause | Fix |
|---|---|---|
| The list comes out empty | The range name is wrong or contains a space | Check the names |
| A new item doesn't enter the list | A fixed range | Use a table or a dynamic name |
| Validation vanishes when pasted | Pasting as values | To copy validation use Paste Special > Validation |
| A source on another sheet doesn't work | Older versions | Define a name and use the name |
| Options are typed one by one, hard to maintain | A manual list | A separate "Lists" sheet |
Frequently asked questions
Can I pick several items from a drop-down? Not with standard validation; a macro or a different design is needed.
Does letter case matter? Not as long as the list items are spelled correctly; if incoming data is spelled differently data cleaning is needed (see our data cleaning guide).
Can I show the list items sorted? Sort the source list beforehand or produce the source with the SORT function (365).
In Google Sheets? Data > Data validation > Dropdown; it works similarly (see our Sheets vs Excel guide).
How do I remove validation? Data Validation > Clear All.
Serkan Akyürek is the founder and author of toolrota; he writes step-by-step guides on Excel, AI, the cloud, personal finance and digital security.