Instant digital downloadExcel and Google SheetsSecure card checkout

Excel and Google Sheets how-to

Create a drop-down list in Excel and Google Sheets

A Status column where one person types Paid, another types payed and a third types Done is hard to count or filter. A drop-down list lets people pick from your choices instead, and it takes a minute to set up.

ABCDE
1OrderCustomerStatusStatus list
21041Ana SilvaPaidOpen
31042Ben OkaforShippedPaid
41043Cara LiuOpenShipped
51044Dev PatelPaidLate
61045Eli NovakLate

Sample data: five orders in A1:C6 and the four status choices in E2:E5. A drop-down on C2:C6 with the source =$E$2:$E$5 lets each order take one of the four, and nothing else.

Make the list in Excel

Put the choices in cells first, one under the other: Open, Paid, Shipped and Late in E2:E5 here. Select the cells that get the drop-down, C2:C6, then go to Data > Data Validation. On the Settings tab, set Allow to List, click in the Source box and select E2:E5, leaving out the heading. Excel writes it as:

=$E$2:$E$5

Keep In-cell dropdown ticked and click OK. Click any cell in C2:C6 and an arrow appears with the four choices. Microsoft's drop-down list page adds one more box: "If it's OK for people to leave the cell empty, check the Ignore blank box."

Or type the choices

For a short list that rarely changes, type the choices straight into the Source box with a comma between them:

Open,Paid,Shipped,Late

Microsoft's add or remove items page says to separate them "by a comma, with no spaces in between". The catch: every change means opening the rule again, so a list that grows belongs in cells.

Google Sheets: Insert > Dropdown

Select C2:C6 and choose Insert > Dropdown. The Data validation panel opens on the right. Set the criteria to Dropdown (from a range) and type or select E2:E5, or leave it on Dropdown to type the choices in the panel. Click Done.

Google's dropdown help page lists other ways in: Data > Data validation > Add rule, or right-click a cell and choose Dropdown. Under Advanced options the display style can be Chip, Arrow or Plain text, and Allow multiple selections lets one cell hold more than one choice. The page notes it "can only be enabled for chip format dropdowns."

Let the list grow by itself

Excel: turn the choices into a table. Click any cell in E1:E5, press Ctrl+T and keep My table has headers ticked, then point the drop-down's Source at the item cells, E2:E5, as before. Microsoft's page says "Ideally, you'll have your list items in an Excel table," because "as you add or remove items from the list, any drop-downs you based on that table will automatically update." Type a new choice in the row right under the table and it joins the table, and the drop-down with it.

Google Sheets: there is no table step, so point the range past the last choice: E2:E20 leaves room for 15 more. Empty cells in the range do not show up as blank choices; we checked that in Google Sheets.

Add, change or remove a choice

Choices in cells: type the new one under the last, or change the word in its cell. If the Source does not reach the new cell, open Data > Data Validation and select the longer range. To take a choice out of the middle, Microsoft's page says to "right-click its cell, click Delete, and then click OK to shift the cells up."

Choices typed in the Source box: select one of the drop-down cells, open Data Validation and edit the list. Before you click OK, tick Apply these changes to all other cells with the same settings, so every cell with that drop-down gets the new list, not only the ones you selected.

Either way, cells that already hold a choice keep it. Rename Paid to Settled in the list and the orders marked Paid still say Paid, so run the check further down after a rename. In Google Sheets, a cell whose value is no longer on the list gets a small red flag in its corner; we saw it when we changed a list in our own test.

Count each choice

Next to the list, in F2:

=COUNTIF($C$2:$C$6,E2)

Fill it down to F5 and you get Open 1, Paid 2, Shipped 1 and Late 1. The $ signs keep the order column fixed as you fill down, and E2 moves so each row counts its own status. To count what is not on the list at all, take the counted ones away from all the filled cells:

=COUNTA(C2:C6)-SUM(F2:F5)

That gives 0 here, since every status came from the drop-down. In a column where two statuses were typed as Shiped and Done, the same formula gives 2. The COUNTIFS page counts with two conditions, such as Paid orders over 100.

Find old entries that do not match

Adding a drop-down does not change what is already in the cells, so statuses typed by hand before, like Shiped or Done, stay where they are. Flag them in a spare column, starting in G2:

=IF(COUNTIF($E$2:$E$5,C2)=0,"Fix","OK")

COUNTIF gives 0 when the status is not on the list, so that row says Fix. In our test list, the Shiped and Done rows said Fix and the rest said OK. Pick the right choice from the drop-down on each Fix row, then delete the helper column.

Allow other entries, or block them

Excel: the Error Alert tab decides what happens when someone types something that is not on the list. Microsoft's page: "To stop people from entering data that isn't in the drop-down list, select Stop." Choose Warning or Information to show a message but still let the entry in. The Input Message tab adds a note that pops up when the cell is selected, such as Pick a status.

Google Sheets: the help page says "If you enter data in a cell that doesn't match an item on the list, it is rejected." To let other entries in with a warning instead, open Advanced options and set If the data is invalid to Show a warning.

Colour each choice

Use conditional formatting, one rule per colour. To colour the whole row of each late order, select A2:C6 and add a rule with this formula:

=$C2="Late"

In Excel that is Home > Conditional Formatting > New Rule, then Use a formula to determine which cells to format. In Google Sheets it is Format > Conditional formatting, then Custom formula is. Add a second rule with =$C2="Paid" and a green fill, and so on. The highlight a whole row page explains where the $ goes and has its own practice sheet.

Remove a drop-down

Excel: Microsoft's data validation page says to select the cells, "go to Data > Data Validation and in the data validation dialog box press Clear All", then OK. Google Sheets: open Data > Data validation, click the rule and choose Remove Rule.

Free practice sheet

Three jobs to try: make a Status drop-down from a list of choices and use it to mark five orders; count how many orders have each status with COUNTIF, plus the ones typed with a typo; and flag the old entries a drop-down would refuse with Fix or OK. Yellow cells for you, a Check column that says Correct or Try again, and an Answers tab with a finished drop-down to compare with yours. One Excel file that opens in Google Sheets too. Free, no sign up. Sample data.

Download the practice sheet (.xlsx)

Templates with the math already done

Rather skip the formulas? These templates come with every formula built and checked, plus a filled-in sample.

Teaching this to a class or team?

Get one tip like this a month

A free email from VARS Digital with one Excel or Google Sheets fix, tested in both apps. No spam, unsubscribe any time.

By signing up you agree that VARS Digital, 10151 240 Street, Maple Ridge, BC V2W 0G9, Canada (inquiries@varsdigital.app) may email you its newsletter: Excel and Google Sheets tips, updates and news about our templates and lessons. We send a confirmation email first, and nothing else goes out until you click it. Every email has an unsubscribe link, and you can leave any time. Details in our store policies.

More how-tos