How to Create a Drop-Down List in Excel
To create a drop-down list in Excel, select the cells, open Data > Data Validation, set Allow to List and tell Excel where the choices are. The basic version takes a minute. The rest of this guide covers the versions people get stuck on: lists that grow by themselves, a second list that depends on the first, search, several picks in one cell, and color.
Quick Answer
Select the cells, go to Data > Data Validation, and on the Settings tab set Allow to List. In Source, type the choices separated by commas (Yes,No,Maybe) or select the cells that hold them. Leave In-cell dropdown ticked and click OK.
Keep the choices in an Excel Table and the list grows when you add one. For a list that depends on another cell, use FILTER (Microsoft 365, Excel 2021 or 2024) or INDIRECT (any version). Microsoft 365 already lets you type to search a list, and several picks per cell takes a short macro.
Which Drop-Down Do You Need?
Find your situation, then jump to that section. Every method except the ActiveX combo box starts from the same Data Validation dialog.
| You want | Use | Works in |
|---|---|---|
| A short list that rarely changes (Yes, No, Maybe) | Typed items in Source (section 1) | Every version |
| A list that grows when you add items | An Excel Table as the source (section 2) | Every current version |
| A second list that depends on the first (Country, then City) | FILTER and a # reference (section 3) | Microsoft 365, Excel 2021, Excel 2024 |
| The same on older Excel, or for a whole column of rows | Named ranges and INDIRECT (section 3) | Every version |
| Type a few letters to narrow a long list | Nothing, it's built in (section 4) | Microsoft 365 on Windows, Mac, web and mobile |
| Search on Excel 2016 to 2021 | An ActiveX combo box (section 4) | Excel for Windows only |
| Several picks in one cell | A list plus a macro (section 5) | Desktop Excel, Windows and Mac |
| A color for each choice | Conditional formatting (section 6) | Every version |
Need a drop-down of dates? That one is covered in how to add a date picker in Excel.
1. Basic Drop-Down List
Every other method on this page is a variation on these five steps.
- Select the cell or cells that should get the drop-down.
- On the Data tab, click Data Validation in the Data Tools group.
- On the Settings tab, set Allow to List.
- In Source, type the choices separated by commas, such as Low,Medium,High, or click in the box and select the cells that hold them, leaving out the header.
- Keep In-cell dropdown ticked and click OK. Select one of the cells and an arrow appears beside it.
Tick Ignore blank if an empty cell is allowed. If the Data Validation button is greyed out, you're probably still typing in a cell (press Enter first), or the sheet is protected or the workbook is shared.
On a Mac and in Excel for the web
The dialog is the same. On a Mac, the command sits on the Data tab, and the button may be labeled Validate. In Excel for the web, it's under Data > Data Tools > Data Validation, and the Error Alert tab says Show Alert and Type where Windows says Style. Microsoft's Create a drop-down list guide has a tab for each.
Decide what happens with other entries
Out of the box, Excel rejects anything that isn't on the list. The Error Alert tab changes that: Stop blocks the entry, while Warning and Information show your message and then let it through. The Input Message tab adds a hint of up to 255 characters that appears when someone selects the cell.
Typed items or cells? Typed items suit three or four short choices. Anything longer belongs in cells: you edit the cells instead of reopening the dialog, and a typed list is capped at 255 characters. Microsoft's advice is commas with no spaces (Yes,No,Maybe). If your system's list separator is a semicolon, which is common in Europe, type Yes;No;Maybe instead.
2. A List That Grows: Build It From a Table
Here's the classic complaint: you add a new choice under the list and it never shows up in the drop-down. Microsoft's answer is to keep the choices in an Excel Table. A Table stretches when you type in the row below it, and drop-downs based on it follow along.
Click a cell in the list and press Ctrl+T. Excel picks up the whole list. Keep "My table has headers" ticked and click OK.
- Click any cell in your list and press Ctrl+T (on a Mac, use Home > Format as Table). Check the range, keep My table has headers ticked and click OK.
- Select the cells that need the drop-down and open Data > Data Validation. Set Allow to List.
- Click in Source and drag over the Table's items, leaving out the header. Excel fills in the address (
=$E$2:$E$5in the animation). Click OK. - Type a new item in the first empty cell under the Table and press Enter. The Table takes in the new row, and the drop-downs include it.
Table on another sheet? That plain address only keeps growing when the Table and the drop-downs share a sheet, according to Trump Excel. For a list on another sheet, name the Table first (on Windows: Table Design > Table Name, say Statuses) and point Source at it by name.
Excel won't take =Statuses[Status] typed into Source, so either wrap it as =INDIRECT("Statuses[Status]") or create a name with Formulas > Define Name (Refers to: =Statuses[Status]) and type that name in Source. The defined name is sturdier: INDIRECT's text doesn't change if you rename the Table, and INDIRECT is volatile, so Excel recalculates it on every change.
3. Dependent Drop-Downs (Category, Then Item)
A dependent list changes with the first choice: pick Vegetable in A2 and B2 offers only vegetables. There are two ways to build one. FILTER is cleaner if your Excel has it. INDIRECT works in every version and covers a whole column of rows with a single rule.
Microsoft 365, Excel 2021 and Excel 2024: FILTER
A2 already has a plain list of the three categories. Pick one: Vegetable.
- Give the first cell (A2 here) a basic list of the categories, as in section 1.
- In a spare cell with empty cells below it (F2 here), enter
=FILTER(E2:E9,D2:D9=A2,""). The items whose category matches A2 spill into the cells below. The final""returns a blank instead of a #CALC! error when nothing matches, as Microsoft's FILTER reference explains. - Select B2, open Data > Data Validation, set Allow to List and enter
=$F$2#in Source. The#, the spilled range operator, means the whole spill, so the list is always the right length. Click OK. - Open B2's drop-down: only the items for A2's category appear.
- Change A2 and the list follows. B2 keeps its old pick until someone changes it, so you can end up with Leek next to Fruit. Data > Data Validation (click the arrow on the button) > Circle Invalid Data puts a red ring around cells like that.
Three things that break it:
- Anything in the cells below the helper. FILTER can't spill, shows #SPILL!, and the drop-down stops working. Keep that column clear.
- A helper cell inside a Table. Excel doesn't support spilled formulas in Tables.
- New rows below the data.
E2:E9only reads rows 2 to 9. Put the data in a Table (named Items here) and write=FILTER(Items[Item],Items[Category]=A2,""), and new rows count automatically.
One helper cell serves one input row, which suits a form. For a column of rows, each row would need a helper of its own, so the INDIRECT method below is usually simpler.
Any version, and many rows: named ranges and INDIRECT
- Put each category's items in its own column, with the category name as the header: Fruit, Vegetable, Dairy.
- Select the whole block, headers included, and choose Formulas > Create from Selection. Tick Top row only and click OK. Excel names each column after its header.
- Give A2:A20 a basic list of the category names.
- Select B2:B20 with B2 as the active cell, open Data Validation, set Allow to List and enter
=INDIRECT(A2)in Source. Because A2 is a relative reference, each row reads its own category. - If Excel warns that the source "currently evaluates to an error", click Yes. A2 is just empty for now.
Categories with spaces: a name can't contain a space, so New York can't be a name as written. Call that range New_York and use =INDIRECT(SUBSTITUTE(A2," ","_")) in Source. INDIRECT is also volatile, which you'll only notice in very large workbooks.
| FILTER | INDIRECT | |
|---|---|---|
| Excel versions | Microsoft 365, 2021, 2024 | Every version |
| Setup | One formula, no names | One name per category |
| A whole column of rows | A helper per row | One rule covers it |
| Categories with spaces | Fine | Needs SUBSTITUTE |
| New items | Included if the data is a Table | Only if the names cover them |
4. Searchable Drop-Down List
Microsoft 365 has search built in. Click a drop-down cell and start typing: the list shrinks to the items that match. Microsoft says it matches words anywhere in an item (the start, middle or end), so typing york finds New York, and it leaves blank items out. Press Enter or click the one you want. There's nothing to set up.
Which versions have it
- Excel for Windows (Microsoft 365): Current Channel Version 2306 (build 16.0.16501.20004) or later, per Microsoft's Excel blog. Microsoft switched it on in waves, so two PCs on the same build could behave differently for a while.
- Mac, iPhone, iPad and Android (Microsoft 365): rolled out to Insiders in September 2023, starting with Mac version 16.77, iOS version 2.77 and Android build 16.0.16816.10000, according to the Microsoft 365 Insider post.
- Excel for the web: yes. The same Insider post links web users straight to it.
- Excel 2024: Microsoft's list of what's new in Excel 2024 doesn't mention it, so test your copy by typing part of an item in a drop-down cell.
- Excel 2021, 2019 and 2016: no. One-time-purchase versions don't get new features after release.
Not seeing it in Microsoft 365? Check your version under File > Account > About Excel. Work PCs on slower update channels get new features later than Current Channel.
Excel 2016 to 2021: an ActiveX combo box
Older versions can't filter a Data Validation list as you type. The nearest built-in option is an ActiveX combo box, which fills in the first item that starts with what you've typed. It only exists in Excel for Windows, and Microsoft now disables ActiveX controls by default in Microsoft 365 and Office 2024, so treat this as a fix for older desktop copies.
- Turn on the Developer tab: File > Options > Customize Ribbon, then tick Developer.
- Click Developer > Insert, choose Combo Box under ActiveX Controls, and draw it over the input cell.
- With the box selected, click Properties. Set ListFillRange to your list (for example
Lists!A2:A200) and LinkedCell to the cell that should get the value. Leave MatchEntry on1 - fmMatchEntryComplete, the default, which completes the entry as you type. - Click Design Mode to switch it off, then type in the box.
It's one control per input cell and it only matches from the start of an item, so it suits a form better than a long table. If your team needs search across whole sheets, Microsoft 365 is far less work than maintaining these.
5. Multi-Select Drop-Down
Excel has no setting for this in any version: a new pick always replaces the old one. A short macro changes that. It adds each pick to the cell with a comma, so one cell can hold Red, Blue, Green.
- Create a normal list on the cells (section 1). The macro below expects B2:B100.
- Right-click the sheet tab and choose View Code.
- Paste the macro, then change
B2:B100to your cells. - Close the editor and save the workbook as an Excel Macro-Enabled Workbook (.xlsm). A plain .xlsx drops the code.
Paste into the sheet's code window (right-click the sheet tab > View Code)
Private Sub Worksheet_Change(ByVal Target As Range)
' Multi-select for the drop-downs in B2:B100. Change the range to yours.
Const LIST_CELLS As String = "B2:B100"
Const SEP As String = ", "
Dim newVal As String, oldVal As String, kept As String
Dim items() As String, i As Long, found As Boolean
If Target.CountLarge > 1 Then Exit Sub
If Intersect(Target, Me.Range(LIST_CELLS)) Is Nothing Then Exit Sub
On Error GoTo Done
Application.EnableEvents = False
newVal = CStr(Target.Value)
Application.Undo
oldVal = CStr(Target.Value)
If oldVal = "" Or newVal = "" Then
Target.Value = newVal
Else
' Compare whole items, so "Red" is not mistaken for "Dark Red"
items = Split(oldVal, SEP)
For i = LBound(items) To UBound(items)
If items(i) = newVal Then
found = True ' picked again: take it out
Else
kept = kept & SEP & items(i)
End If
Next i
If found Then
Target.Value = Mid(kept, Len(SEP) + 1)
Else
Target.Value = oldVal & SEP & newVal
End If
End If
Done:
Application.EnableEvents = True
End SubHow this version differs from most macros you'll find:
- It compares whole items. Many copies use InStr, which sees "Red" inside "Dark Red" and refuses to add it. This one splits the cell on ", " and checks each item.
- Picking an item again removes it, which is the quickest way to fix a wrong pick. Pressing Delete clears the cell.
- It always switches events back on, even after an error, so the sheet doesn't quietly stop responding to picks.
Before you share the file:
- Macros run in desktop Excel for Windows and Mac. Excel for the web can't run VBA, so on the web each pick replaces the last one.
- Excel for Windows blocks macros in files that came from the internet or email. If you trust the file, right-click it, choose Properties and tick Unblock (Microsoft's steps).
- With the error alert on, Excel rejects hand-typed text such as "Red, Blue" because it isn't on the list. Pick from the arrow, or turn off the error alert for those cells.
- Excel can't undo what a macro writes, so try it on a copy first.
6. Color-Coded Drop-Down
Data Validation has no color settings, so you color the cell instead. A conditional formatting rule recolors the cell the moment someone picks a value.
- Select the drop-down cells.
- Go to Home > Conditional Formatting > Highlight Cells Rules > Equal To.
- Type the value, for example
Done, choose a format (or Custom Format for your own fill) and click OK. - Repeat for each choice: one rule for In progress, one for Blocked, and so on.
Use Equal To rather than Text that Contains: a Contains rule for Done also colors Not done. In Excel for the web, the menu is called Highlight Cell Rules.
7. Edit, Add To or Remove a Drop-Down
Add or remove choices
- The source is a Table: add or delete items in the Table. Nothing else to do.
- The source is a range: edit the cells. If you add past the end of the range, open Data > Data Validation and reselect the range in Source.
- The source is a named range: open Formulas > Name Manager, select the name and fix Refers to.
- The items are typed: open Data > Data Validation and edit Source.
Before you click OK, tick Apply these changes to all other cells with the same settings to update every matching drop-down at once. In Excel for the web, the dialog only edits typed lists; for a range or a name, change the cells or open the file in desktop Excel.
Remove a drop-down
- Select the cells. To find every drop-down on the sheet, use Home > Find & Select > Data Validation.
- Open Data > Data Validation, click Clear All, then OK. The arrows go; values already in the cells stay.
The Clear All on the Home tab is a different command: it wipes the cell contents and formatting too.
Copy a drop-down to more cells
Copy a cell that has it, select the new cells, then choose Home > Paste > Paste Special > Validation. Only the rule is pasted, not the value.
Common Problems and Fixes
No arrow appears
- The arrow only shows on the selected cell, so click the cell first.
- Reopen Data Validation and make sure In-cell dropdown is ticked.
- No arrows anywhere in the workbook? Objects may be hidden. Go to File > Options > Advanced and, under Display options for this workbook, set For objects, show to All.
Data Validation is greyed out
- You're still editing a cell. Press Enter or Esc.
- The sheet is protected or the workbook is shared. Unprotect it or stop sharing, then try again.
"The Source currently evaluates to an error"
- Usually an INDIRECT list whose first cell is still empty. Click Yes; it works once a category is picked.
- Otherwise the name or range in Source doesn't exist: a typo, a renamed Table or a deleted sheet.
New items don't show up
- The source is a fixed range and the new item sits outside it. Extend the range, or switch to a Table (section 2).
Wrong values got in anyway
- Validation only checks what people type. Pasting into the cell or dragging the fill handle skips it, as Microsoft notes in More on data validation.
- To find what slipped through, use Data > Data Validation (the arrow) > Circle Invalid Data.
- Check the Error Alert style. Warning and Information let other entries through after the message.
Items are cut off
- The list is only as wide as the cell. Widen the column.
The multi-select macro stopped working
- The file was saved as .xlsx, which removes macros. Paste the code back in and save as .xlsm.
- Macros are disabled or blocked. Click Enable Content on the yellow bar, or unblock a downloaded file as described in section 5.
Frequently Asked Questions
How do I create a drop-down list in Excel?
Select the cells, go to Data > Data Validation, and on the Settings tab set Allow to List. In Source, type the choices separated by commas (Yes,No,Maybe) or select the cells that hold them, leave In-cell dropdown ticked and click OK. The same dialog exists in Excel for Windows, Mac and the web.
How do I make a drop-down list that updates automatically?
Keep the choices in an Excel Table (click in the list and press Ctrl+T), then select the Table's items in the Source box. When you type a new item under the Table, the Table grows and the drop-down includes it. If the Table is on another sheet, point Source at it by name with =INDIRECT("TableName[Column]") or a defined name.
How do I create a dependent drop-down list in Excel?
In Microsoft 365, Excel 2021 or Excel 2024, put =FILTER(items,categories=A2,"") in a helper cell and set the second list's Source to that cell followed by #, for example =$F$2#. In any version, give each category's items a named range and use =INDIRECT(A2) as the second list's Source.
Can you search in an Excel drop-down list?
Yes, in Microsoft 365. Start typing in the cell and the list shows only the items with a matching word. Microsoft lists it for Excel for Windows (Current Channel Version 2306 or later), Mac, iPhone, iPad, Android and the web. Excel 2021 and older don't have it, and Microsoft's list of what's new in Excel 2024 doesn't mention it.
Can an Excel drop-down list allow multiple selections?
Not on its own. Add a Worksheet_Change macro that appends each pick to the cell, like the one in this guide, and save the file as .xlsm. Macros run in desktop Excel for Windows and Mac, not in Excel for the web.
How do I create a drop-down list from another sheet?
Click in the Source box, switch to the other sheet and select the cells. Excel writes a reference such as =Lists!$A$2:$A$9. If those cells are an Excel Table and the list should grow, point Source at the Table by name with INDIRECT or a defined name.
How do I remove a drop-down list in Excel?
Select the cells, open Data > Data Validation, click Clear All and then OK. The arrow disappears and any values already in the cells stay. To find every drop-down on a sheet, use Home > Find & Select > Data Validation.
Show Your Team the Process Once
Teaching people how to fill in a tracker? Record the walkthrough once with Deckoholic's Chrome extension. It cuts the ums and pauses, adds zooms and captions, and exports an MP4 or a step-by-step help doc. There's a free plan.
Try Deckoholic Free