Learn Excel
EN
Sets how numbers, dates and formulas look, so everything works just like your own Excel.

Home › Excel basics › Drop-down lists

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

A drop-down list lets people pick a value instead of typing it. That prevents typos like "Nort" and "north " that break lookups and pivot tables later. You build one with Data Validation in under a minute.

In this guide
  1. Quick list of items
  2. List from a range
  3. A list that grows
  4. Input and error messages
  5. Edit or remove
  6. Dependent drop-downs
  7. Copy a drop-down list to other cells
  8. A drop-down list with colours
  9. Use the choice in a formula
  10. Protect the list
  11. Keep learning
  12. FAQ

Option 1: a quick list of items

  1. Select the cells that should get the drop-down, for example B2:B100.
  2. Go to Data › Data Validation.
  3. Under Allow, choose List.
  4. In Source, type the items separated by commas: Open,In progress,Done
  5. Click OK.

Each selected cell now shows a small arrow with the three options. Good for short lists that rarely change.

In some regional settings the separator is a semicolon: Open;In progress;Done.

Try it yourself: select B2:B6, go to Data › Data Validation, choose List, type Open,In progress,Done as the source and click OK. Turn on JavaScript to practise this in an interactive Excel window.

Option 2: a list from a range of cells

For longer lists, put the items in cells (for example on a separate sheet called Lists, in A2:A6) and point to them:

  1. Select the target cells and open Data › Data Validation.
  2. Allow: List. Source: =Lists!$A$2:$A$6, or click the arrow and select the range.
  3. Click OK.

Change an item in the source range and the drop-down changes with it.

A list that grows automatically

With a fixed range, new items added below A6 won't appear. Two ways to fix that:

  • Use a table: select the list, press Ctrl+T, then use the column as the source. The easiest way is to name the column range (Formulas › Define Name, refers to =Table1[Status]) and use =StatusList as the source. New rows are included automatically.
  • Use UNIQUE (Microsoft 365, Excel 2021+): create a sorted list of existing values with =SORT(UNIQUE(Data!B2:B500)) in, say, H2, and use =$H$2# as the source. The # includes the whole spilled range. See UNIQUE.

Input messages and error alerts

In the same Data Validation dialog:

  • Input Message tab: a tooltip that appears when the cell is selected, such as "Pick the order status".
  • Error Alert tab: what happens when someone types a value that isn't in the list. Stop blocks it, Warning and Information allow it after a prompt.

Edit or remove a drop-down

  • Edit: select a cell with the drop-down and open Data › Data Validation again. Tick "Apply these changes to all other cells with the same settings" to update them all.
  • Remove: select the cells, open Data Validation and click Clear All.
  • Copy to other cells: copy a cell with the drop-down and use Paste Special › Validation.

Dependent drop-downs

A second list that depends on the first (choose a country, then only see that country's cities) is possible with named ranges and INDIRECT, or in Microsoft 365 with FILTER. Name each city list after its country, then use =INDIRECT(A2) as the source of the second drop-down, where A2 holds the chosen country. Step-by-step: INDIRECT and dependent drop-downs.

Copy a drop-down list to other cells

Select the cell with the drop-down and press Ctrl+C. Select the cells that should get the same list and choose Home > Paste > Paste Special > Validation. Only the list is copied: the values and formatting of the target cells stay as they are. A normal paste works too, but it also overwrites what is in those cells.

If the list sits in a column of a table, every new row gets the drop-down by itself.

A drop-down list with colours

A drop-down can't hold colours itself, but conditional formatting can colour the cell based on the choice. Select the cells with the drop-down and choose Home > Conditional Formatting > Highlight Cells Rules > Equal To. Type Done and pick green fill. Add a second rule for Open in red. Change the choice and the colour changes with it.

Use the chosen value in a formula

A drop-down becomes really useful when other cells react to it. Say B2 has a drop-down with product names and your price list is in E2:F20 (product in E, price in F). Show the price of the chosen product in C2 with:

=XLOOKUP(B2,$E$2:$E$20,$F$2:$F$20,"")

Pick another product and the price changes with it. The last argument, "", keeps C2 empty while nothing has been picked yet. More in XLOOKUP. With a Yes/No drop-down in B2, an IF works the same way: =IF(B2="Yes",C2*0.9,C2) gives 10% off only when Yes is chosen.

Keep the list from being changed

A drop-down that reads its items from cells breaks as soon as someone deletes or changes those cells. Two easy safeguards:

  1. Put the items on a separate sheet, for example a sheet called Lists, and hide it: right-click the sheet tab › Hide. The drop-down keeps working.
  2. Lock that sheet with Review › Protect Sheet. People can still use the drop-down on the other sheets, but they can no longer change the items. See lock cells for the details.

Frequently asked questions

Why don't I see the drop-down arrow?

The arrow only appears when the cell is selected. If it never appears, check that "In-cell dropdown" is ticked in the Data Validation dialog.

Can people still type something that isn't in the list?

Not if the Error Alert style is Stop (the default). Note that pasting a value into the cell can bypass data validation.

How do I sort the items in a drop-down?

The drop-down shows the items in the order of the source range. Sort the source, or use SORT(UNIQUE()) as described above.

Can a drop-down allow multiple selections?

Not with standard Data Validation. That requires a macro (VBA).

How do I add an item to an existing drop-down list?

If the list comes from a range, add the item to that range and, if needed, widen the range in Data > Data Validation. Better: make the source a table (Insert > Table); new rows then show up in the list automatically.

Can the list come from another sheet?

Yes. In Data Validation, choose List and select the range on the other sheet, for example =Lists!$A$2:$A$20. Many people keep all their lists on one hidden sheet.

Can I search or type to filter a drop-down list?

In Excel for Microsoft 365 and Excel for the web, yes: click the cell and start typing, and the list only shows the items that match. In older versions you have to scroll through the list, so sort the items alphabetically to keep it quick.

How do I make a Yes/No drop-down?

Select the cells, go to Data › Data Validation, choose List and type Yes,No in Source. No cells with items are needed.

Does this work on a Mac and in Excel for the web?

Yes. The steps are the same: Data › Data Validation, then List. Only the look of the window differs a little.