Quick answer

To create a drop-down list in Excel, select the cells and go to Data > Data Validation. On the Settings tab, choose List under Allow, then select the cells that hold your choices in the Source box, or type the choices with commas between them. Click OK. Each cell now shows an arrow when you select it, and Excel turns away entries that aren’t on the list.

A drop-down list keeps a column consistent. When everyone picks Travel from a list, the column can’t fill up with “travel”, “Trvl” and “Travel ” as well, so totals and counts by category come out right.

How a drop-down list works

A drop-down list is a data validation rule: a check Excel runs on what goes into a cell. With List, the check is simple. The entry must be one of the values in the list, and Excel shows an arrow beside the cell so people can pick one instead of typing.

The rule belongs to the cells you put it on. Type something that isn’t on the list and Excel refuses it with an error message. Pick from the arrow, or, in Microsoft 365 on Windows, start typing and the list narrows to the choices that match.

How to make a drop-down list from a range

Say you keep the team’s expense log, and every expense needs one of six categories. Keep the categories in a column of their own, here on a sheet named Lists, so you can change them later in one place.

The choices live in one place, and the drop-down cells point at them. The Source of the rule on B2:B6 is =Lists!$A$2:$A$7. Pick a category from the arrow, or press Alt+Down (Option+Down on a Mac) to open the list.
  1. Type the choices in a column, one per cell, with nothing else in between. Here they’re in A2:A7 on the Lists sheet.
  2. On the expense sheet, select the cells that should get the drop-down, such as B2:B6, or the whole column of entries to come.
  3. On the Data tab, in the Data Tools group, click Data Validation.
  4. On the Settings tab, choose List under Allow.
  5. Click in the Source box and select the cells that hold the choices. When they’re on another sheet, type the reference with the sheet’s name in front: =Lists!$A$2:$A$7.
  6. Leave In-cell dropdown ticked and click OK.

The arrow appears only beside the selected cell. On a Mac the steps are the same, under Data > Data Validation, and Option+Down opens the list instead of Alt+Down.

Type the choices into Source

For a short list that won’t change, such as Yes and No, you don’t need cells at all. Type the choices into Source with a comma between each: Yes,No, or Approved,Pending,Rejected. In much of Europe, where Excel separates a formula’s arguments with semicolons, separate the choices with semicolons too: Yes;No. Changing such a list later means editing the rule, so for anything longer or likely to change, keep the choices in cells.

Make the list grow when you add a choice

A range such as $A$2:$A$7 stays the same size, so a seventh category typed in A8 won’t appear in the drop-down. Give the choices a name that follows them instead, as Microsoft recommends:

  1. Click a cell in the choices and press Ctrl+T (Cmd+T on a Mac) to turn them into an Excel table, with My table has headers ticked.
  2. On the Formulas tab, in the Defined Names group, click Define Name. Type a name such as Categories, click in Refers to and select the choices below the header. Click OK.
  3. In the drop-down’s Source, type =Categories.

The name points at the table’s column, so when you add a choice at the bottom of the table, the name and the drop-down take it in. Typing a table reference such as =Table1[Category] straight into Source doesn’t work: the box doesn’t accept it, which is why the name sits in between.

Change or remove a drop-down list

To change the choices, change the cells they come from, and every drop-down that points at them follows. To change the rule itself, select one of its cells, open Data Validation again and edit it. Before you click OK, tick the box that applies the changes to all other cells with the same settings, so the whole column changes together.

To remove a drop-down, select its cells, open Data Validation and click Clear All, then OK. The values already in the cells stay.

What a drop-down list doesn’t stop

A drop-down checks what people type or pick, and nothing else. Copy a cell from elsewhere and paste it over a drop-down cell, and the paste goes through unchecked: the pasted cell’s settings replace the rule. Values that were in the cells before you added the rule stay as they were, wrong or not.

The alert matters too. On the Error Alert tab, the Stop style refuses a wrong entry, while Warning and Information let people keep it if they insist.

To find the entries that break the rule, click the arrow next to Data Validation on the Data tab and choose Circle Invalid Data. Excel draws a red circle around each one. Clear Validation Circles on the same menu removes them.

Count what people picked with COUNTIF

Once the column holds tidy categories, the COUNTIF function can count each one. It counts the cells in a range that match a value, so a short summary next to the log shows how many expenses fall into each category:

One formula, filled down, counts every category. $A$2:$A$10 is locked so each row counts the same column, and D3 moves down to name the next category. Meals appears three times. In E3, =COUNTIF($A$2:$A$10,D3) returns 3.

In E2, type =COUNTIF($A$2:$A$10,D2) and fill it down to E7. The dollar signs keep the range fixed while D2 moves down the list of categories. To add up the amounts per category instead, SUMIF takes the same two arguments and a third, the range to add.

The free lesson Count what matches with COUNTIF and COUNTIFS has more exercises on counting by category.

Why a drop-down list doesn’t work as expected

There’s no arrow

The arrow shows only when you select a cell with the rule. If it’s still missing, open Data Validation and tick In-cell dropdown.

The list has blank lines

The Source range takes in empty cells, such as $A$2:$A$20 for six choices. Shrink the range to the filled cells, or use a name over a table so the range always fits.

A choice won’t match

A choice typed with a space at the end, “Travel ” instead of “Travel”, looks right in the list but doesn’t equal what people type, and COUNTIF counts it apart. Retype the choice without the space, or clean the list with TRIM.

Frequently asked questions

How do I make a drop-down list in a cell in Excel?

Select the cell, choose Data > Data Validation, pick List under Allow, and type the choices in Source, separated by commas (semicolons in much of Europe), or select the cells that hold them. Click OK, and the cell shows an arrow when you select it.

Can a drop-down list come from another sheet?

Yes. In Source, type the range with the sheet’s name in front, such as =Lists!$A$2:$A$7. Keeping the choices on their own sheet means you change them in one place, and every drop-down that points at them follows.

How do I edit a drop-down list?

If the choices come from cells, edit those cells and the drop-down follows. If you typed them into Source, select a cell with the list, open Data > Data Validation and change Source, ticking the box that applies the change to all other cells with the same settings.

Can a drop-down list allow more than one choice?

Not on its own: each cell holds one value from the list. Letting people pick several needs a macro, so a common alternative is one column per choice, or a second drop-down column.

Can the choices in a drop-down list have colors?

The list itself can’t, but the cell can change color once a value is chosen. Select the cells and use Home > Conditional Formatting > Highlight Cells Rules > Equal To, once for each value you want colored.

How do I remove a drop-down list?

Select the cells, choose Data > Data Validation and click Clear All, then OK. The entries already in the cells stay where they are.