How to create a drop-down list in Excel, and edit or remove one
To create a drop-down list in Excel, select the cells, then on the Data tab choose Data Validation. Set Allow to List, type the items into the Source box with a comma between each, or select the cells that hold them, and click OK. Select one of the cells and an arrow beside it opens the list. Excel turns away anything typed that isn’t on it.
This guide shows how to make a drop-down list from typed items or from cells, keep it up to date by itself, put the choice to work in other cells, link a second list to the first and colour the cells by what’s picked. Then it covers editing a list, removing one and fixing one that doesn’t work. After that come 9 exercises to practise them.
Every result on this page comes from the practice sheet our lessons use. We ran the formulas through it and printed what they returned.
How to create a drop-down list in Excel
This order tracker needs the status of each order in column D. A drop-down list there offers the three statuses in F2:F4, so each one is picked rather than typed, and always spelt the same way.
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Order | Customer | Product | Status | Statuses | Status | ||
| 2 | 1041 | Asha | Desk lamp | Delivered | Pending | Shipped | ||
| 3 | 1042 | Ben | Notebook | Shipped | Shipped | |||
| 4 | 1043 | Chen | Stapler | Pending | Delivered | |||
| 5 | 1044 | Dev | Notebook | Delivered | ||||
| 6 | 1045 | Ella | Folders | Shipped | ||||
| 7 | 1046 | Femi | Desk lamp | Pending | ||||
| 8 | 1047 | Grace | Pens | Delivered | ||||
| 9 | 1048 | Hugo | Stapler | Shipped | ||||
| 10 | 1049 | Ines | Folders | Pending | ||||
| 11 | 1050 | Jon | Notebook | Delivered |
- Select the cells that need the list: D2:D11 here.
- On the Data tab, choose Data Validation.
- Set Allow to List on the Settings tab.
- Fill in the Source box. Select F2:F4 on the sheet, or type the items with a comma between each:
Pending,Shipped,Delivered. - Click OK.
| Setting | What to choose | What it does |
|---|---|---|
| Allow | List | Turns the cells into drop-down lists. |
| Source | =$F$2:$F$4 | The cells that hold the items. Selecting them writes this for you, $ signs included. |
| Ignore blank | Ticked | Lets a cell be left empty. |
| In-cell dropdown | Ticked | Shows the arrow. Without it, the list still checks entries but can’t be opened. |
Select a cell in D2:D11 and an arrow appears beside it. Click the arrow, or press Alt+Down Arrow on Windows, and pick a status. Typing a status works too, but Excel turns away anything that isn’t on the list. In Excel for Microsoft 365 on Windows, typing in the cell narrows the list to the items that match, wherever the match falls in the item. The same steps work in Excel for Mac and Excel for the web.
Type the items, or point at cells
Typing the items into the Source box suits a short list that won’t change, such as Yes,No. Separate
the items with commas and no spaces. The box holds 255 characters, so a longer list belongs in cells.
A list in cells is easier to change and can be as long as you need. Leave the heading out of the Source, or it turns up as one of the choices. When you select the cells, Excel adds the $ signs, so every cell with the drop-down points at the same list.
A column of Yes and No is quick to count with COUNTIF. Try it in your browser. This task comes from lesson 24 of Excel Foundations, our free course, and it checks your formula the way the course does.
In B12, count the unpaid expenses.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Item | Category | Amount | Paid |
| 2 | Taxi to airport | Travel | 42.50 | Yes |
| 3 | Team lunch | Meals | 86.00 | No |
| 4 | Hotel, 2 nights | Travel | 310.00 | Yes |
| 5 | Printer ink | Office | 38.90 | Yes |
| 6 | Client dinner | Meals | 124.00 | Yes |
| 7 | Train ticket | Travel | 27.00 | No |
| 8 | Notebooks | Office | 15.60 | No |
| 9 | ||||
| 10 | Travel expenses | 3 | ||
| 11 | Over 100 | 2 | ||
| 12 | Unpaid | (your answer goes here) |
Create a free account to carry on with the rest of Excel Foundations.
Keep the list on another sheet
A list on a sheet of its own keeps the table tidy. Click in the Source box, click the other sheet’s tab and select
the cells: Excel writes =Lists!$A$2:$A$4 for cells on a sheet called Lists. Microsoft suggests hiding and
protecting that sheet, so nobody changes the list by accident.
You can also give the cells a name. Select them, type a name such as Statuses in the Name Box, to the left of the
formula bar, and press Enter. Then type =Statuses in the Source box. A name can’t contain spaces, so join
words with an underscore, as in Order_status.
Add the list to more cells
Select every cell that needs the list before you open Data Validation. For a column that keeps growing, select well past the last row, such as D2:D500. To add the list to more cells later, copy a cell that has it, select the new cells and open Paste Special, with Ctrl+Alt+V on Windows, then choose Validation. That pastes the list on its own, without the copied cell’s entry or format.
A plain paste copies everything, lists included, so pasting over a cell with a drop-down replaces its settings with the copied cell’s. Excel doesn’t check entries that are pasted or filled in either. To paste entries into cells without touching their lists, use Paste Special and choose Values.
Show a message, or allow other entries
The Data Validation box has two more tabs. On Input Message you can write a note that shows when someone selects the cell, such as which status to pick, in up to 225 characters. Error Alert sets what happens when someone types something that isn’t on the list.
| Style | What it does | The buttons |
|---|---|---|
| Stop | Refuses the entry | Retry or Cancel. This is the style Excel starts with. |
| Warning | Asks whether to keep it | Yes keeps the entry, No goes back to it and Cancel removes it. |
| Information | Shows a message and lets the entry through | OK keeps the entry and Cancel removes it. |
To let people type entries of their own as well as pick from the list, choose Warning or Information, or clear Show error alert after invalid data is entered. Each cell takes one choice from the list. Picking several items in one cell needs a macro, which Excel for the web doesn’t run.
Make a drop-down list update by itself
A Source of F2:F4 stops at F4, so an item typed in F5 isn’t offered. Microsoft’s advice is to keep the items in an Excel table: select a cell in them and press Ctrl+T. Point the Source at the table’s cells, without the heading, and the list changes as you add items at the end of the table or delete them.
Typing the table’s name in the Source box, such as =Statuses[Status], doesn’t work, because Data
Validation won’t take a table reference. Select the cells instead.
Build the list with a formula
In Excel 2021 and later, and Microsoft 365, a formula can build the list from the data. In a spare cell,
=SORT(UNIQUE(C2:C11)) lists each product on the order tracker once.
| Formula | What it does | Result |
|---|---|---|
=SORT(UNIQUE(C2:C11)) | Each product on the orders once, from A to Z. | Desk lamp, Folders, Notebook, Pens and Stapler |
Data Validation won’t take the formula itself, so put it in a cell, such as J2, and type =$J$2# in the
Source box. The # stands for every cell the formula spills into, so the list grows and shrinks with the results: a
new product joins it as soon as an order has it. Our guide to removing
duplicates has more on what UNIQUE can do.
Fill in other cells from the choice
A drop-down list fills in one cell. Formulas that point at that cell can look up details for the item picked, or count and add up by it. This price list has a category picked in E2 and a product in F2.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Product | Category | Price | Category | Product | |
| 2 | Desk | Furniture | 145.00 | Lighting | Floor lamp | |
| 3 | Chair | Furniture | 89.00 | |||
| 4 | Shelf | Furniture | 62.00 | |||
| 5 | Desk lamp | Lighting | 24.00 | |||
| 6 | Floor lamp | Lighting | 59.00 | |||
| 7 | Notebook | Stationery | 3.50 | |||
| 8 | Pens | Stationery | 4.20 | |||
| 9 | Stapler | Stationery | 9.99 |
Look up details for the item picked
XLOOKUP finds the product picked in F2 and returns its price. Pick another product and the price changes with it.
| Formula | What it does | Result |
|---|---|---|
=XLOOKUP(F2, | The price of the product picked in F2. | 59.00 |
=VLOOKUP(F2, | The same with VLOOKUP, which works in Excel 2019 and earlier too. | 59.00 |
Our comparison of XLOOKUP and VLOOKUP shows how the two differ. Try a lookup here: this task comes from lesson 28 of Excel Foundations.
In C2, look up the price for the code in A2.
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Code | Qty | Price | Code | Product | Price | ||
| 2 | ST-3302 | 4 | (your answer goes here) | NB-2041 | Notebook | 3.50 | ||
| 3 | NB-2041 | 10 | PN-1180 | Pens | 4.20 | |||
| 4 | FD-1005 | 30 | ST-3302 | Stapler | 9.99 | |||
| 5 | DL-4410 | 1 | DL-4410 | Desk lamp | 24.00 | |||
| 6 | FD-1005 | Folders | 1.80 |
Create a free account to practise every lookup in Excel Foundations.
Count or add up by the item picked
Point COUNTIF or SUMIF at the cell with the drop-down, and the result changes with each pick. On the order tracker, H2 holds a status picked from the list.
| Formula | What it does | Result |
|---|---|---|
=COUNTIF(D2:D11, | Counts the orders that are Shipped. | 3 |
=COUNTIF(D2:D11, | Counts the orders with the status picked in H2, whichever it is. | 3 |
Both return 3 here, but only the second stays right when someone picks another status in H2. SUMIF works the same way. This task, from lesson 25 of Excel Foundations, totals whichever category is in F2, as a drop-down list would fill it in.
In G2, total whichever category is typed in F2.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Item | Category | Amount | Paid | Category | Total | |
| 2 | Taxi to airport | Travel | 42.50 | Yes | Meals | (your answer goes here) | |
| 3 | Team lunch | Meals | 86.00 | No | |||
| 4 | Hotel, 2 nights | Travel | 310.00 | Yes | |||
| 5 | Printer ink | Office | 38.90 | Yes | |||
| 6 | Client dinner | Meals | 124.00 | Yes | |||
| 7 | Train ticket | Travel | 27.00 | No | |||
| 8 | Notebooks | Office | 15.60 | No | |||
| 9 | |||||||
| 10 | Travel total | 379.50 | |||||
| 11 | Unpaid total | 128.60 |
Create a free account to practise the rest of Excel Foundations.
Make a dependent drop-down list
A dependent list offers choices that depend on another cell. On the price list, picking Lighting in E2 leaves only the lamps to choose from in F2. There are two ways to build one.
With FILTER, in Excel 2021 and Microsoft 365
- Build the first list. In a spare cell, such as H2,
=SORT(UNIQUE(B2:B9))lists each category once. Give E2 a drop-down list with the Source=$H$2#. - Build the second list. In I2,
=FILTER(A2:A9,B2:B9=E2)lists the products in the category picked in E2. Give F2 a drop-down list with the Source=$I$2#.
| Formula | What it does | Result |
|---|---|---|
=SORT(UNIQUE(B2:B9)) | Each category once, from A to Z: the first list. | Furniture, Lighting and Stationery |
=FILTER(A2:A9, | The products in the category picked in E2: the second list. | Desk lamp and Floor lamp |
With Lighting in E2, F2 offers Desk lamp and Floor lamp. Pick Stationery in E2 and it offers Notebook, Pens and Stapler instead.
With INDIRECT, in every version
- Name each category’s products after the category, spelt exactly as it is in the first list: A2:A4 Furniture, A5:A6 Lighting and A7:A9 Stationery. Select the cells, type the name in the Name Box and press Enter.
- Give F2 a drop-down list with the Source
=INDIRECT($E2). INDIRECT turns the category in E2 into the name of a range, so F2 offers the products with that name.
A name can’t contain spaces, so a category such as Office chairs needs the name Office_chairs and the Source
=INDIRECT(SUBSTITUTE($E2," ","_")). To give every row a dependent list, select the rows first, with the first row’s cell active. The row
number in $E2 then moves down with each row.
Changing the first choice doesn’t clear the second, so F2 can keep a product from the old category. Circle Invalid Data, under the arrow beside Data Validation, rings any cell whose list no longer offers its entry.
Add colour to a drop-down list
The list itself can’t show colours, but conditional formatting can colour each cell by what’s picked.
- Select the cells with the drop-down list: D2:D11 on the order tracker.
- On the Home tab, choose Conditional Formatting, then Highlight Cells Rules, then Equal To.
- Type Delivered and choose a format, such as green fill with dark green text, then click OK.
- Repeat for each item that needs a colour of its own.
To colour the whole row instead, select A2:D11, choose Conditional Formatting, then New Rule, then Use a formula to
determine which cells to format. Enter the rule for the first row, =$D2="Delivered", and choose a
format. The $ keeps column D while the row number moves down, so each row checks its own status.
| Formula | What it does | Result |
|---|---|---|
=$D2="Delivered" | The rule on row 2. Order 1041 was delivered, so row 2 takes the format. | TRUE |
=$D3="Delivered" | The same rule on row 3. Order 1042 was shipped, so row 3 stays as it is. | FALSE |
Edit a drop-down list
How you change a list depends on its Source. To see it, select a cell with the drop-down and open Data Validation.
| Source | Example | How to add or remove an item |
|---|---|---|
| Typed items | Yes,No,Maybe | Edit the items in the Source box. |
| Cells | =$F$2:$F$4 | Type the new item below the last one, then change the Source to take it in: =$F$2:$F$5. To remove an item, delete its cell and shift the cells below it up. |
| A table | =$F$2:$F$4, with F2:F4 in a table | Type the new item in the row under the table, or delete an item’s row. The list changes by itself. |
| A name | =Statuses | Change the cells, then on the Formulas tab choose Name Manager, select the name and fix the cells in Refers to. |
When the list is in more than one cell, tick Apply these changes to all other cells with the same settings before you click OK, so every cell gets the new Source.
Changing a list doesn’t change the entries already made. An item you take off the list stays in the cells that hold it, and Excel doesn’t flag them. To find those cells, choose the arrow beside Data Validation, then Circle Invalid Data.
Remove a drop-down list
- Select the cells with the list. Hold Ctrl, or Cmd on a Mac, and click to add cells that aren’t next to each other.
- On the Data tab, choose Data Validation.
- Click Clear All, then OK.
The entries stay in the cells, and only the lists go. Pressing Delete does the opposite: it clears the entry and keeps the list. To find every cell on a sheet that has a list, choose Find & Select on the Home tab, then Data Validation.
When a drop-down list doesn’t work
- Data Validation is greyed out. Press Enter or Esc to finish typing in the cell. If it’s still greyed out, the sheet may be protected or the workbook shared, and the settings can’t change until it isn’t.
- There’s no arrow. The arrow shows only beside the cell you’ve selected. If that cell has none, open Data Validation and tick In-cell dropdown. If no list on the sheet shows an arrow, go to File, then Options, then Advanced, and under Display options for this workbook set For objects, show to All.
- Excel says the Source currently evaluates to an error. With INDIRECT, that happens when the first list’s cell is still empty: click Yes, and the list works once something is picked there. Otherwise, check the range or name in the Source for a typo.
- The items are cut off. The list is as wide as its cell, so widen the column.
- A cell holds an entry that isn’t on the list. It was there before the list, or it was pasted in. Circle Invalid Data shows where.
Drop-down list exercises with answers
These 9 exercises run on two tables. Some need a formula, and the rest use Excel’s menus, where the answers give the settings and what you should see. Download the workbook to do them in Excel, or type the tables in yourself, starting in cell A1.
Excel file, 10 KB. It opens in Google Sheets too.
Exercises 1 to 5: an order tracker
Ten orders and their status, with the list of statuses in F2:F5. H2 holds a status to count, and a list of the products goes in H5. The yellow cells show where each formula goes. The other exercises use Excel’s menus.
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Order | Customer | Product | Status | Statuses | Status | Orders | ||
| 2 | 1051 | Kai | Desk lamp | Delivered | Pending | Pending | (your answer goes here) | ||
| 3 | 1052 | Lena | Notebook | Shipped | Shipped | ||||
| 4 | 1053 | Malik | Stapler | Pending | Delivered | Products | |||
| 5 | 1054 | Nora | Pens | Delivered | Cancelled | (your answer goes here) | |||
| 6 | 1055 | Omar | Folders | Shipped | |||||
| 7 | 1056 | Priya | Notebook | Dispatched | |||||
| 8 | 1057 | Quinn | Desk lamp | Pending | |||||
| 9 | 1058 | Rosa | Folders | Delivered | |||||
| 10 | 1059 | Sam | Stapler | Cancelled | |||||
| 11 | 1060 | Tom | Pens | Delivered |
- Add a drop-down list to
D2:D11that offers the statuses inF2:F5. - One order’s status isn’t on the list. Use Circle Invalid Data to find it. Which order is it, and what does its status say?
- In
I2, count the orders with the status inH2. - Give
H2a drop-down list of its own, fromF2:F5, then pick Delivered. What doesI2show now? - In
H5, list each product once, in alphabetical order, ready to be the Source of a list of products.
Answers to exercises 1 to 5
| Exercise | Formula | How it works | Result |
|---|---|---|---|
| 1 | Data Validation: Allow List, Source =$F$2:$F$5 | Select D2:D11 first, so the ten cells share one list. Selecting F2:F5 in the Source box writes the $ signs for you. | Each cell in D2:D11 opens a list of 4 statuses: Pending, Shipped, Delivered, Cancelled. |
| 2 | Data tab, the arrow beside Data Validation, then Circle Invalid Data | A new list doesn’t check the entries already in its cells, so this one got through. Pick Shipped from the list in its place, and the circle goes. | Order 1056, whose status is Dispatched. |
| 3 | =COUNTIF(D2:D11, | COUNTIF counts the statuses that match H2. Pointing at the cell, rather than typing the word, means the count changes whenever H2 does. | 2 |
| 4 | Data Validation on H2: Allow List, Source =$F$2:$F$5 | The count changes as soon as you pick, because the formula from exercise 3 reads H2. | With Delivered picked in H2, I2 shows 4. |
| 5 | =SORT(UNIQUE(C2:C11)) | UNIQUE drops the repeats and SORT puts the rest in order. A list with the Source =$H$5# offers these five, and takes in a new product as soon as an order has it. | Desk lamp, Folders, Notebook, Pens, Stapler |
Exercises 6 to 9: a team phone list
Eight people, their team and their phone extension. E2 holds a team and F2 a name, as two drop-down lists would. The lists themselves go in E5 and F5, and the yellow cells show where each formula goes.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Name | Team | Extension | Team | Name | Extension | |
| 2 | Alba | Sales | 201 | Support | Eli | (your answer goes here) | |
| 3 | Bilal | Support | 301 | ||||
| 4 | Cleo | Sales | 202 | Teams | Names | ||
| 5 | Dara | Finance | 401 | (your answer goes here) | (your answer goes here) | ||
| 6 | Eli | Support | 302 | ||||
| 7 | Fern | Support | 303 | ||||
| 8 | Gus | Finance | 402 | ||||
| 9 | Hana | Sales | 203 |
- In
E5, list each team once, in alphabetical order. - In
F5, list the people in the team inE2. - In
G2, look up the extension of the person inF2. - Give
E2a drop-down list of the teams inE5, andF2one of the names inF5. Pick Sales inE2. Which names doesF2offer now, and what doesG2show once you pick Hana?
Answers to exercises 6 to 9
| Exercise | Formula | How it works | Result |
|---|---|---|---|
| 6 | =SORT(UNIQUE(B2:B9)) | These are the choices for E2. Its Source will be =$E$5#. | Finance, Sales, Support |
| 7 | =FILTER(A2:A9, | FILTER keeps the names whose team matches E2. These are the choices for F2, so its Source will be =$F$5#. | Bilal, Eli, Fern |
| 8 | =XLOOKUP(F2, | XLOOKUP finds the name in F2 and returns the extension on its row. Also works: =VLOOKUP(F2, or =INDEX(C2:C9,. | 302 |
| 9 | Data Validation: Source =$E$5# for E2 and =$F$5# for F2 | The # takes in every cell a formula spills into. Picking Sales changes what FILTER returns in F5, so the list in F2 changes with it, though F2 shows Eli until you pick again. Spill references need Excel 2021 or later, or Microsoft 365. | With Sales in E2, F2 offers Alba, Cleo, Hana. Once Hana is picked, G2 shows 203. |
Questions
How do I create a drop-down list in Excel with multiple options?
Give the Source box every option, with a comma between each, such as Pending,Shipped,Delivered, or put the options in cells, one to a cell, and select them. A typed list holds up to 255 characters, so a long one belongs in cells. Each cell still takes one option. Picking several in one cell needs a macro.
What is the difference between a drop-down list and a drop-down menu?
In Excel they’re the same thing. Microsoft calls it a drop-down list, a drop-down box or a drop-down menu, and you make one with Data Validation. The arrows a filter adds to the headings of a table are different: they sort and filter the rows, rather than fill in a cell.
How do I make a drop-down list apply to a whole column?
Select the cells before you open Data Validation. Click the column’s letter to select all of it, or, to keep the heading free, select from the first row of data down past the last, such as D2:D500. To add the list to more cells later, copy a cell that has it and use Paste Special with Validation.
How do I make a drop-down list update automatically in Excel?
Keep the items in an Excel table, which you make with Ctrl+T, and point the Source at the table’s cells without the heading. The list changes when you add an item at the end of the table or delete one. In Excel 2021 and Microsoft 365, a list built with a formula such as =SORT(UNIQUE(C2:C11)) updates too: put the formula in a cell, such as J2, and type =$J$2# in the Source box.
How do I create a drop-down list in Excel that fills in other cells?
Put a formula beside it that reads the choice. With a product picked in F2, =XLOOKUP(F2,A2:A9,C2:C9) returns its price from the price list, 59.00 for the floor lamp on this page, and =VLOOKUP(F2,A2:C9,3,FALSE) does the same in Excel 2019 and earlier. The price changes as soon as someone picks another product.
Can I select more than one item from a drop-down list in Excel?
Not with Data Validation on its own: each cell takes one item. Picking several items in one cell needs a macro written in VBA, which Excel for the web doesn’t run. Without one, give each choice a cell of its own, each with the same list.
Can you search a drop-down list in Excel?
In Excel for Microsoft 365 on Windows, yes. Start typing in the cell and the list shows only the items that match what you’ve typed, wherever the match falls in the item. To open the list from the keyboard, select the cell and press Alt+Down Arrow.
Keep practising
Excel Foundations, our free course, covers COUNTIF and SUMIF in its seventh module and XLOOKUP in its eighth: the formulas that put a choice from a list to work. It has 30 short lessons and 82 exercises in a live sheet, and passing its test earns a certificate of completion.
See what’s in Excel Foundations
UNIQUE, SORT and FILTER, which build lists that keep themselves up to date, have a module of their own in Excel Intermediate, and Excel Test Prep asks which of Excel’s tools does which job, data validation included. Both come with Pro. For more practice, try our Excel exercises with answers.