Monday, 16 January 2023

How to Create a Drop Down List in Excel

Use data validation to create a drop-down list in Microsoft Excel

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.

[Edit]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.

[Edit]Steps

[Edit]Creating a Drop-Down

  1. Enter 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.
    Create a Drop Down List in Excel Step 1 Version 5.jpg
    • 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.
  2. Click 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.
    Create a Drop Down List in Excel Step 2 Version 5.jpg
    • 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.
  3. Click the tab. You can find this at the top of your spreadsheet. It will open your data tools.
    Create a Drop Down List in Excel Step 3 Version 5.jpg
  4. Click the . It’s the button on the "Data" toolbar that looks like two separate cells with a green checkmark and a red stop sign.
    Create a Drop Down List in Excel Step 4 Version 5.jpg
  5. Click the drop-down. This is in the Settings tab of the Data Validation window.
    Create a Drop Down List in Excel Step 5 Version 5.jpg
  6. Select . This option will allow you to create a list in the selected cell.
    Create a Drop Down List in Excel Step 6 Version 5.jpg
  7. Check the option. When this option is checked, you will create a drop-down list in the selected cell on your spreadsheet.
    Create a Drop Down List in Excel Step 7 Version 5.jpg
  8. Check the option (optional). When this option is checked, users will be able to leave the drop-down empty without an error message.
    Create a Drop Down List in Excel Step 8 Version 5.jpg
    • If the drop-down you're creating is a mandatory field, make sure not to check this box.
  9. Click the text box under "Source" in the pop-up. You can select the list of values you want in your drop-down.
    Create a Drop Down List in Excel Step 9 Version 5.jpg
    • Click the upward arrow button to minimize the Data Validation window, showing only the cell range text box.
  10. Select 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.
    Create a Drop Down List in Excel Step 10 Version 5.jpg
    • 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.

[Edit]Adding List Properties

  1. Click . 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.
    Create a Drop Down List in Excel Step 11 Version 5.jpg
  2. Check . This displays a pop-up message when the drop-down cell is selected.
    Create a Drop Down List in Excel Step 12 Version 5.jpg
    • If you don't want to show a pop-up message, just leave the box unchecked.
  3. Enter a Title and Input Message. You can use this area to explain, describe or provide more information about the drop-down list.
    Create a Drop Down List in Excel Step 13 Version 5.jpg
    • 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.
  4. Click . This tab will let you display a pop-up error message whenever invalid data is entered into your drop-down cell.
    Create a Drop Down List in Excel Step 14 Version 5.jpg
  5. Check . When this option is checked, an error message will pop up when a user types invalid data into the drop-down cell.
    Create a Drop Down List in Excel Step 15 Version 5.jpg
    • If you don't want an error message to pop-up, leave the box unchecked.
  6. Select an error icon in the drop-down. You can select Stop, Warning, or Information.
    Create a Drop Down List in Excel Step 16 Version 5.jpg
    • 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.
  7. Enter 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.
    Create a Drop Down List in Excel Step 17 Version 5.jpg
    • 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]
  8. Click . This will create and insert your drop-down list into the selected cell.
    Create a Drop Down List in Excel Step 18 Version 5.jpg
    • 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.

[Edit]Video

[Edit]Tips

  • After you finish creating your drop-down menu, open the drop-down list to make sure all the items you entered display properly. In some cases, you may need to widen the cell in order to display all your items fully.
  • When typing the list of items for your drop-down list, type them in the order in which you want them to appear in the drop-down menu. For example, you can type your entries in alphabetical order to make it easier for users to find certain items or values.
  • For more helpful Excel tips, check out how to use VLOOKUP and create a database.

[Edit]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]

[Edit]Related wikiHows

[Edit]References

[Edit]Quick Summary


No comments:

Post a Comment