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.

An order tracker, with each order’s status in column D, the list of statuses in F2:F4 and a status picked in H2
ABCDEFGH
1OrderCustomerProductStatusStatusesStatus
21041AshaDesk lampDeliveredPendingShipped
31042BenNotebookShippedShipped
41043ChenStaplerPendingDelivered
51044DevNotebookDelivered
61045EllaFoldersShipped
71046FemiDesk lampPending
81047GracePensDelivered
91048HugoStaplerShipped
101049InesFoldersPending
111050JonNotebookDelivered
  1. Select the cells that need the list: D2:D11 here.
  2. On the Data tab, choose Data Validation.
  3. Set Allow to List on the Settings tab.
  4. Fill in the Source box. Select F2:F4 on the sheet, or type the items with a comma between each: Pending,Shipped,Delivered.
  5. Click OK.
SettingWhat to chooseWhat it does
AllowListTurns the cells into drop-down lists.
Source=$F$2:$F$4The cells that hold the items. Selecting them writes this for you, $ signs included.
Ignore blankTickedLets a cell be left empty.
In-cell dropdownTickedShows 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.

Example data for this task
ABCD
1ItemCategoryAmountPaid
2Taxi to airportTravel42.50Yes
3Team lunchMeals86.00No
4Hotel, 2 nightsTravel310.00Yes
5Printer inkOffice38.90Yes
6Client dinnerMeals124.00Yes
7Train ticketTravel27.00No
8NotebooksOffice15.60No
9
10Travel expenses3
11Over 1002
12Unpaid (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.

StyleWhat it doesThe buttons
StopRefuses the entryRetry or Cancel. This is the style Excel starts with.
WarningAsks whether to keep itYes keeps the entry, No goes back to it and Cancel removes it.
InformationShows a message and lets the entry throughOK 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.

FormulaWhat it doesResult
=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 price list grouped by category, with a category picked in E2 and a product in F2
ABCDEF
1ProductCategoryPriceCategoryProduct
2DeskFurniture145.00LightingFloor lamp
3ChairFurniture89.00
4ShelfFurniture62.00
5Desk lampLighting24.00
6Floor lampLighting59.00
7NotebookStationery3.50
8PensStationery4.20
9StaplerStationery9.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.

FormulaWhat it doesResult
=XLOOKUP(F2,A2:A9,C2:C9)The price of the product picked in F2.59.00
=VLOOKUP(F2,A2:C9,3,FALSE)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.

Example data for this task
ABCDEFGH
1CodeQtyPriceCodeProductPrice
2ST-33024 (your answer goes here)NB-2041Notebook3.50
3NB-204110PN-1180Pens4.20
4FD-100530ST-3302Stapler9.99
5DL-44101DL-4410Desk lamp24.00
6FD-1005Folders1.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.

FormulaWhat it doesResult
=COUNTIF(D2:D11,"Shipped")Counts the orders that are Shipped.3
=COUNTIF(D2:D11,H2)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.

Example data for this task
ABCDEFG
1ItemCategoryAmountPaidCategoryTotal
2Taxi to airportTravel42.50YesMeals (your answer goes here)
3Team lunchMeals86.00No
4Hotel, 2 nightsTravel310.00Yes
5Printer inkOffice38.90Yes
6Client dinnerMeals124.00Yes
7Train ticketTravel27.00No
8NotebooksOffice15.60No
9
10Travel total379.50
11Unpaid total128.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

  1. 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#.
  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#.
FormulaWhat it doesResult
=SORT(UNIQUE(B2:B9))Each category once, from A to Z: the first list.Furniture, Lighting and Stationery
=FILTER(A2:A9,B2:B9=E2)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

  1. 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.
  2. 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.

  1. Select the cells with the drop-down list: D2:D11 on the order tracker.
  2. On the Home tab, choose Conditional Formatting, then Highlight Cells Rules, then Equal To.
  3. Type Delivered and choose a format, such as green fill with dark green text, then click OK.
  4. 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.

FormulaWhat it doesResult
=$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.

SourceExampleHow to add or remove an item
Typed itemsYes,No,MaybeEdit the items in the Source box.
Cells=$F$2:$F$4Type 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 tableType the new item in the row under the table, or delete an item’s row. The list changes by itself.
A name=StatusesChange 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

  1. 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.
  2. On the Data tab, choose Data Validation.
  3. 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.

Download the practice workbook

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.

The table for exercises 1 to 5
ABCDEFGHI
1OrderCustomerProductStatusStatusesStatusOrders
21051KaiDesk lampDeliveredPendingPending (your answer goes here)
31052LenaNotebookShippedShipped
41053MalikStaplerPendingDeliveredProducts
51054NoraPensDeliveredCancelled (your answer goes here)
61055OmarFoldersShipped
71056PriyaNotebookDispatched
81057QuinnDesk lampPending
91058RosaFoldersDelivered
101059SamStaplerCancelled
111060TomPensDelivered
  1. Add a drop-down list to D2:D11 that offers the statuses in F2:F5.
  2. 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?
  3. In I2, count the orders with the status in H2.
  4. Give H2 a drop-down list of its own, from F2:F5, then pick Delivered. What does I2 show now?
  5. 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

ExerciseFormulaHow it worksResult
1Data Validation: Allow List, Source =$F$2:$F$5Select 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.
2Data tab, the arrow beside Data Validation, then Circle Invalid DataA 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,H2)COUNTIF counts the statuses that match H2. Pointing at the cell, rather than typing the word, means the count changes whenever H2 does.2
4Data Validation on H2: Allow List, Source =$F$2:$F$5The 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.

The table for exercises 6 to 9
ABCDEFG
1NameTeamExtensionTeamNameExtension
2AlbaSales201SupportEli (your answer goes here)
3BilalSupport301
4CleoSales202TeamsNames
5DaraFinance401 (your answer goes here) (your answer goes here)
6EliSupport302
7FernSupport303
8GusFinance402
9HanaSales203
  1. In E5, list each team once, in alphabetical order.
  2. In F5, list the people in the team in E2.
  3. In G2, look up the extension of the person in F2.
  4. Give E2 a drop-down list of the teams in E5, and F2 one of the names in F5. Pick Sales in E2. Which names does F2 offer now, and what does G2 show once you pick Hana?

Answers to exercises 6 to 9

ExerciseFormulaHow it worksResult
6=SORT(UNIQUE(B2:B9))These are the choices for E2. Its Source will be =$E$5#.Finance, Sales, Support
7=FILTER(A2:A9,B2:B9=E2)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,A2:A9,C2:C9)XLOOKUP finds the name in F2 and returns the extension on its row. Also works: =VLOOKUP(F2,A2:C9,3,FALSE) or =INDEX(C2:C9,MATCH(F2,A2:A9,0)).302
9Data Validation: Source =$E$5# for E2 and =$F$5# for F2The # 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.

Start with Excel Foundations. It’s free.

Pro is $19 a month or $99 a year for every other track, with SQL included as it launches.

Create free account Go to your lessons