Use data validation to create a drop-down list in Microsoft Excel
This article was co-authored by wikiHow staff writer, Kyle Smith. Kyle Smith is a wikiHow Technology Writer, learning and sharing information about the latest technology. He has presented his research at multiple engineering conferences and is the writer and editor of hundreds of online electronics repair guides. Kyle received a BS in Industrial Engineering from Cal Poly, San Luis Obispo.
The wikiHow Tech Team also followed the article's instructions and verified that they work.
This article has been viewed 1,106,672 times.
Learn more...
Microsoft Excel's Data Validation feature allows you to create a list of items and insert a drop-down menu into any cell on your spreadsheet. It’s a useful feature for creating consistent data entry with categorical data. This wikiHow guide will show you how to create and edit a drop down list in Excel for Windows and Mac.
Things You Should Know
- Create a list of drop-down items in a column. Make sure the items are consecutive (no blank rows).
- Click the cell where you want the drop-down.
- Click the Data Validation button in the Data tab.
- Select the list of drop-down items. Then, customize the list using the data validation options.
Steps
Creating a Drop-Down
-
1Enter the list of drop-down values in a column. Make sure to enter each drop-down item in a separate, consecutive cell in the same column.
- For example, if you want your drop-down list to include "New York," "Boston," and "Los Angeles," you can type "New York" in cell A1, "Boston" in cell A2, and "Los Angeles" in cell A3.
- You can place these items in an existing worksheet, or a new one. They can then be referenced in any worksheet in the workbook.
- For formatting tips, check out our guide on formatting an Excel spreadsheet.
-
2Click the cell where you want to insert your drop-down. This will select the cell. You can insert a drop-down list in any empty cell on your spreadsheet.
- Drop-downs are helpful for information you want to enter consistently and repeatedly. For example, if you’re making a bill tracker, you could have a drop-down with bill types.
Advertisement -
3Click the Data tab. You can find this at the top of your spreadsheet. It will open your data tools.
-
4Click the Data Validation. It’s the button on the "Data" toolbar that looks like two separate cells with a green checkmark and a red stop sign.
-
5Click the Allow: drop-down. This is in the Settings tab of the Data Validation window.
-
6Select List. This option will allow you to create a list in the selected cell.
-
7
-
8
-
9Click the text box under "Source" in the pop-up. You can select the list of values you want in your drop-down.
- Click the upward arrow button to minimize the Data Validation window, showing only the cell range text box.
-
10Select your drop-down's list values on the spreadsheet. Click and drag the cursor to select the list of values you want in the drop-down.
- For example, if you have "New York," "Boston," and "Los Angeles" in cells A1, A2, and A3, make sure to select the cell range from A1 to A3.
- Alternatively, you can manually type your drop-down list values into the "Source" box here. In this case, make sure to separate each entry with a comma.
Adding List Properties
-
1Click Input Message. It's the second tab at the top of the Data Validation window. This tab will allow you to create a pop-up message to display next to your drop-down list.
-
2
-
3Enter a Title and Input Message. You can use this area to explain, describe or provide more information about the drop-down list.
- The title and input message you enter here will show up on a small, yellow pop-up sticky note next to the drop-down when the cell is selected.
-
4Click Error Alert. This tab will let you display a pop-up error message whenever invalid data is entered into your drop-down cell.
-
5
-
6Select an error icon in the Style drop-down. You can select Stop, Warning, or Information.
- The Stop option will show a pop-up error window with your error message, and stop users from entering data that isn't in the drop-down list.
- The Warning and Information options will not stop users from entering invalid data, but show an error message with the yellow "!" or blue "i" icon.
-
7Enter a custom Title and Error message (optional). Your custom error title and message will pop up when invalid data is entered into the drop-down cell.
- You can leave these fields empty. In this case, the error title and message will default to Microsoft Excel's generic error template.
- The default error template is titled "Microsoft Excel," and the message reads "The value you entered is not valid. A user has restricted values that can be entered into this cell."[1]
-
8Click OK. This will create and insert your drop-down list into the selected cell.
- Now users can click the drop-down button (downward triangle) next to the cell to select an item.
- Make changes to the data validation drop-down list by selecting the cell with the drop-down and clicking the data validation button. The data validation window will reopen and you can edit any of the options.
- You can copy (ctrl/cmd + c) the cell with the drop-down and paste (ctrl/cmd + v) in other cells to duplicate the drop-down.
Community Q&A
-
QuestionHow can I add a drop down list, but not show all of the items in each row?Community AnswerSeparate the items in a more organized manner. Break down the items and add multiple entries.
-
QuestionHow can I add a dropdown box to multiple cells at the same time?Community AnswerCopy the cell with the drop down list, highlight all the cells you wish to paste this to, select the paste special option and select "Validation" and then "OK."
-
QuestionI added a new field, but it is not appearing on the drop-down menu. How do I fix this?Community AnswerClick on cell A1. Select the DATA MENU. Select DATA VALIDATION. In the VALUE field, select LIST, and in the SOURCE field, enter A,B,C.
Warnings
- You will not be able to access the "Data Validation" menu if your worksheet is protected or shared. In this case, make sure to remove the protection or unshare the document, and then try to access the Data Validation menu again.[2]⧼thumbs_response⧽
References
About This Article
1. Open an Excel spreadsheet.
2. Click the Data tab.
3. Click the Data Validation tool.
4. Select List under "Allow."
5. Check the In-cell dropdown option.
6. Enter your drop-down values into the "Source" box.
7. Click OK.