To make an Excel drop-down list for data entry, type your items in a column, select the cell where you want the list, then go to Data, Data Validation, choose List in the Allow box, and select your items in the Source box. Keep the box In-cell dropdown ticked. Microsoft says it is best to put the items in an Excel table, because a drop-down based on a table updates when you add or remove items. Press Ctrl+T to turn a range into a table. You can also set an input message and an error alert, so people can only enter items from the list. Here are the steps, how to edit or extend the list, how to make a second list depend on the first, and what I could not confirm.
Why Use a Drop-Down List?
- People choose from set items, so spellings stay the same, such as Karachi and not Karchi. This is general advice.
- The Stop error style (below) blocks entries that are not in the list.
- Filters, counts and totals work better when the entries are consistent. This is general advice.
Step 1: Type the List Items
- Type the items in a column on a worksheet, one item per cell. The list can be on the same sheet or on another sheet.
- Microsoft says to put the data in an Excel table. To convert a range, select a cell in it and press Ctrl+T.
- Microsoft recommends sorting the list.
Example items, for a city column: Karachi, Lahore, Islamabad, Peshawar, Quetta. These are my own example.
Step 2: Add the Drop-Down List
- Select the cell where you want the drop-down. To use it in a whole column, select all the cells. I did not find a Microsoft step for this, but the dialog applies to the selected cells. This is general advice.
- On the Data tab, click Data Validation.
- On the Settings tab, choose List in the Allow box.
- Click the Source box and select your list. Do not include the header row. Microsoft’s example uses A2:A9, on a sheet named Cities.
- Tick Ignore blank if it is fine to leave the cell empty.
- Tick In-cell dropdown.
- Click OK. This last click is the usual way to close the dialog, and Microsoft’s summary I read does not list it.
If Data Validation is greyed out, Microsoft says the worksheet may be protected or shared. Unlock it or stop sharing, then try again.
Shortcut: Type the Items Directly
Microsoft says you can also type the items in the Source box instead of selecting cells. Separate items with commas and no spaces, for example Yes,No,Maybe.
Step 3: Add a Message and an Error Alert (Optional)
- Input Message tab: Tick Show input message when cell is selected, then enter a title and a message. The message can be up to 225 characters.
- Error Alert tab: Tick Show error alert after invalid data is entered, choose a Style, and enter a title and message.
| Style | What happens |
|---|---|
| Stop | Blocks entries that are not in the list |
| Warning | Shows a message, but still allows an entry outside the list |
| Information | Shows a message, but still allows an entry outside the list |
For data entry where consistency matters, Stop is the strictest choice. If you leave the title or message blank, Excel uses default text.
How to Add or Remove Items Later
These steps are from Microsoft’s page on adding or removing items. First, select a cell with the drop-down, go to Data, Data Validation, and check the Source box to see how the list was made.
If the list is based on an Excel table
- To add an item, type it in the first empty row below the list. Excel updates the drop-down automatically.
- To remove an item, select it and press Delete. For an item in the middle, right-click the cell, choose Delete, then OK to shift the cells up.
If the list is a range of cells
- Add the item at the end of the list, or remove one with Delete.
- On the sheet with the drop-down, select the cell, then go to Data, Data Validation.
- In the Source box, select the new list cells.
- To change other cells that use the same list, tick Apply these changes to all other cells with the same settings.
If the list is a named range
Add or remove the item, then go to Formulas, Name Manager, select the named range, and reset the Refers to box to cover all the list cells. Click Close, then Yes to save.
If the items were typed in the Source box
Edit the items in the Source box, separated by commas, and tick the “Apply these changes to all other cells with the same settings” box if you need it.
Make a Second Drop-Down That Depends on the First
For example, you may want a city list that changes when a province is chosen. These steps come from an accepted answer in a Microsoft Q&A thread (23 February 2023), not from a Microsoft Support article.
- Make the first drop-down in the normal way.
- Create a named range for each choice in the first list, for example a range called Punjab that holds the Punjab cities.
- Select the cell for the second drop-down and open Data Validation. Choose List.
- In the Source box, enter
=INDIRECT(A1), where A1 is the cell with the first drop-down.
- Names cannot contain spaces. Use an underscore, for example
Sub_Category. - The names must match the first list’s values exactly. If they do not match, the Source gives an error.
- Use INDIRECT only on the second list, not on the first.
- Named ranges can point to other sheets.
The thread notes that the accepted answer is somewhat unclear in its steps, so test the lists after you make them. This last sentence is general advice.
Common Problems
- Data Validation is greyed out. The sheet may be protected or shared, according to Microsoft.
- The new item does not appear. The list may not be a table, so update the Source or the named range, as above.
- A person can still type something else. Check the Error Alert style. Information and Warning allow other entries.
- The second list shows an error. Check that the range name matches the first list’s value exactly, and has no spaces.
What I Could Not Confirm
- Excel for the web, Mac and phone. Microsoft’s page lists Excel for the web and has a Web tab, but I could not read the web steps. I did not check Excel on a Mac, Android or iPhone, and menus may differ.
- The list size limit. The Microsoft page I opened does not state a maximum number of items.
- Removing a drop-down list. Microsoft links to a separate article, “Remove a drop-down list”, that I did not open, so I give no steps.
- Pasting over a drop-down. I did not find a source on whether pasting a value from another cell removes or bypasses the validation, so test it.
- Dependent lists. The steps come from a community thread, not an official Microsoft article.
- Other spreadsheet programs. I did not check Google Sheets, WPS Office or LibreOffice.
- Older Excel versions. I did not check which versions have the same menu names.
- Protecting a list. Microsoft suggests hiding and protecting the worksheet that holds the source list, but I did not check the steps.
This is general information, not an official notice. Microsoft is the final authority on its own menus.
Frequently Asked Questions
How do I make a drop-down list in Excel?
Select the cell, go to Data, Data Validation, choose List in the Allow box, select your items in the Source box, and keep In-cell dropdown ticked.
Can I type the items instead of using cells?
Yes. Type them in the Source box, separated by commas and no spaces, for example Yes,No,Maybe.
How do I make the list update automatically?
Put the items in an Excel table, as Microsoft advises. Press Ctrl+T to make one.
How do I stop people typing something that is not in the list?
Use the Stop style on the Error Alert tab. Information and Warning allow other entries.
Why is Data Validation greyed out?
Microsoft says the sheet may be protected or shared. Unlock it or stop sharing.
How do I add an item to an existing list?
If the list is a table, type the item in the first empty row below it. For other lists, see the steps above.
How do I make a dependent drop-down?
Use named ranges and an INDIRECT formula in the second list’s Source box. A Microsoft Q&A answer describes this, and names must not contain spaces.
After you set up the list, click a few cells and try a wrong entry, to check that the list and the error alert work.
