How to make a drop-down list in Excel and edit it

Select the cells, choose Data → Data Validation and set Allow to List. In Source, type the choices with commas between them, or select the cells that hold them. Click OK, and an arrow beside the cell opens the list.

A status column, a category column, a region column: anything people fill in by hand drifts. One person types Travel, another Trvl, a third leaves a space on the end, and the totals by category, the filters and the pivot table count them as different things. A drop-down list fixes the spelling where it starts: each cell offers its choices, and Excel turns away anything else.

Below, you give an expense log a list of categories and use it. Then each part gets a section of its own: lists from typed items and from a range, picking, what happens when someone types something that isn’t on the list, and changing or removing a list.

Lesson

This is Witsheet, Witsy’s in-browser spreadsheet. It works like Excel and checks each step as you go.

Make a drop-down list from typed items

Select the cells, choose Data → Data Validation, and under Allow choose List. In Source, type the choices with a comma between each, Yes,No or Open,In progress,Done, and click OK. To give a whole column the list, select it from the first row of data down as far as the column will go.

The comma is your region’s list separator, the one that goes between a function’s arguments. In much of Europe, where the comma is the decimal point, it’s a semicolon: Open;In progress;Done. Excel stores the list the same way either way, so a list made in Berlin shows its commas in New York.

Typed items suit a short list that won’t change, like Yes and No. A choice can’t contain the separator, and changing the choices means opening the dialog again.

Make a drop-down list from a range, and why it’s better

Type the choices into cells first, one per cell down a column. Then, in the dialog, click in Source and select those cells on the sheet, and Excel writes the reference for you, =$E$2:$E$5; or type it. Click OK.

The list now is whatever those cells say. Correct a spelling or rename a category there, and every cell with the list offers the new one. The choices are in plain view rather than buried in a dialog, and a choice with a comma in it is no problem. The dollar signs keep the list on those cells when you copy or fill a cell with it; without them, =E2:E5 would move down a row with every row it was filled into. One thing a range doesn’t do by itself is grow: a choice typed below it isn’t in the list until you widen Source to take it in.

Pick from a drop-down list

Select a cell with the list and an arrow appears beside it. Click the arrow and click a choice. On Windows, Alt+↓ opens the list too, and the arrow keys and Enter pick from it. The pick goes in the cell, and the selection stays where it is.

Typing still works. In Microsoft 365 the list opens under the cell as you type, showing only the choices that start with what you’ve typed, or have a word that does, and Enter takes the highlighted one, whatever the capitals: op gives Open and progress gives In progress.

What happens when someone types something else

Excel refuses it with a message: “This value doesn’t match the data validation restrictions defined for this cell.” Retry puts you back in the cell with what you typed selected, ready to type over. Cancel throws it away, and the cell keeps what it had.

The list only guards typing. Paste a cell over one with a list and the list goes, replaced by whatever the copied cell had. Paste Values keeps the list but lets the pasted value in without a check. Delete empties a cell without a word.

Change or remove a drop-down list

Select a cell with the list and open Data → Data Validation again. The dialog shows the list as it is: edit Source and click OK. To change every cell that has the same list, not only the ones you selected, tick “Apply these changes to all other cells with the same settings” before you click OK.

To remove the list, select its cells, open Data Validation, click Clear All and then OK. Home → Clear → Clear All removes it too, along with the contents and the formatting; Clear Contents and Clear Formats leave it on.

Learn the rest of Excel the same way

Witsy’s Excel course teaches a few hundred small skills, called Wits, the way this page teaches drop-down lists: in a real spreadsheet, a step at a time. The placement test finds the ones you already have.

Your Wit map

Test your spreadsheet Wits.

Take a few minute test to see how good you actually are with spreadsheets. Witsy creates a map of the Wits you should learn next.

Take the placement test Or just start learning →
new unproven weak mid strong very strong super strong