I often use an Excel drop-down list In my line of work to improve the efficiency of my data entry tasks by limiting my choices. This saves me a lot of time and prevents errors. I commonly use an Excel drop-down list for managing inventory, categorizing expenses, and selecting statuses of various tasks. You can add a dropdown list in Excel using the Data validation menu by selecting a list as the allowed data. In this article, I’ll explain how to add an Excel drop-down list, add error messages, and move drop-down lists between other workbooks.
How To Make an Excel Drop-Down List From a Range of Cells
If your drop-down list contains multiple options, creating a list in the spreadsheet and referencing it when making the drop-down menu is better. This can have a lot of benefits. You can reference a larger area and add options to the drop-down menu later.
This also adds the benefit of making your drop-down menus dynamic, meaning you can change the options anytime. Here is how to create dynamic drop-down options in Excel:
- Open the Microsoft Excel spreadsheet where you want to add the dynamic drop-down list.
- Select the range of cells where you will add an Excel drop down list.
- Click on the โData tabโย in the top ribbon, then on the โData Validationโย button in โData Tools.โ
- Click โData Validationโย from the drop-down menu to open a new window.
- Click the โAllowโ option in the data validation dialog box and selectย list.
- For the list Source, we will be adding the cell range.
- To do this, click the โUpโย arrow towards the right side of the textbox.
- This will open another window.
- Now, you can select the cell range with your cursor.
- Click and drag your cursor to select the cell range for the drop-down.
- With the cells selected, click the โDownโย arrow towards the right side of the textbox.
- This will add the cell range to the โSource.โ
- Click the โOKโย button to save the changes.
This will create a data validation list in Excel that you can change anytime.
How To Create an Excel Drop Down List With Yes/No Options
When creating an Excel drop-down list, usually, it’s more convenient to choose a cell range containing the data for the drop-down list. However, I recommend manually entering the data for the Excel yes/no drop-down lists with only a few inputs. Otherwise, you’ll want to import a range of options that already exist. Let’s start with manual entry and explore Excel’s data validation feature.
Here is how to add an Excel drop-down box with only a few inputs:
- Open the Excel spreadsheet where you want to create the in-cell dropdown list.
- Select the cells where you want to insert the drop-down in Excel.
- With the cells selected, click on โDataโย in the top ribbon
- Click on the โData Validationโย button in โData Tools.โ
- This will open a small drop-down menu.
- Select the โData Validationโย button to open a small window in the middle of the screen.
- Here, you can select the โValidation criteria.โ
- Select the โAllowโ option and click the โListโย option.
- This will change the selection options below.
- Click on the โSourceโ text box below.
- Here, I can write a list of drop-down options.
- Enter the list of options separated by commas.
- For example, I want the drop-down options to be โYesโย and โNo.โ
- I will write them as โYes,No.โ
- With the options added, click the โOKโย button to save the changes.
A small arrow icon with the drop-down menu will now show towards the selected cell’s right side.
Note: This doesnโt have to be yes or no, but any defined names as list items.
How To Show Error for Invalid Data in Drop-Down Selection
Although drop-down menus allow users to choose the value they wish to add to the cells, you can still insert your values by simply clicking on the cell and typing. To ensure unwanted values aren’t added, I can show an error alert if invalid data is added. Here is how to do this:
- Open the Excel workbook and select the cells to add the error alert.
- With the cells selected, click on โDataโย in the top ribbon and choose the โData Validationโ option in the โData Toolsโย section.
- If you haven’t specified the drop-down list, specify the drop-down parameters in the โSettingsโ tab.
- Once you do that, click the Error Alertย tab.
- Check the Show error alert after invalid data is enteredย option.
- Below, you can choose the Style from Stop, Warning, and Information.
- After choosing the type of pop-up, select the Titleย and the content of the Error message.
- Once you add the data, click the OKย button to save the changes.
How To Remove an Excel Drop Down List
Now that we know how to add an Excel drop down list, let’s take a look at how to remove an Excel pick from the drop-down list:
- Open the Excel workbook and select the cells to remove the drop-down.
- With the cells selected, click on โDataโย in the ribbon.
- Click on the โData Validationโ option in the โData Toolsโ section here.
- In the โData Validationโย window, go to the โSettingsโย tab and click the โClear Allโ button.
- Click the โOKโ button to save the changes.
But what if you just want to remove items from the list? That’s easy. Just change the named range from your source field, omitting the items you want to remove from your dropdown menu. The same process applies when you want to add a new item or new values to an Excel drop-down list. Just update the source field in the Excel Data Validation list window, pictured above. Make sure to include the items you want to appear, including any new additions.
How To Copy an Excel Drop Down List From Another Workbook
Often, you might want to copy a drop-down from your main spreadsheet to another workbook. Note that this is even easier than adding a dropdown in Google Sheets. I’ve illustrated the process below. Note that you can just copy and paste from one Excel workbook to another.
Here is how to copy a drop-down list from one Excel spreadsheet to another:
- Open the primary Excel workbook where you want to reproduce the Excel drop down list.
- Here, select the cells containing the drop-down list.
- With the cells selected, right-click on the cells and choose the โCopyโย option.
- You can also use the keyboard shortcut Ctrl + C (or Cmd + C on MacOS).
- Now, head to the spreadsheet where you wish to paste the cells.
- Here, click on the cell where you want to paste the cells.
- The selected cell will be the top left cell of the table.
- Now, right-click on the cell and choose the โPasteโ option.
- You can also use the keyboard shortcut Ctrl + Vย to do this.
This will also work between worksheets in the same workbook. Note that this is a different process than creating a dependent dropdown list. Dependent dropdowns change their list of items based on your selection in another cell or drop-down box.
Making Drop-Down Macros
If you need to repeat the task of making dropdown boxes in Excel, you can easily set up a macro. I created this guide to Excel macros to show exactly how to do it.
The short version:
- Determine which parts of your dropdown creation can be replicated
- Create a macro with a new name, like “create Excel dropdowns”
- Then click “record macro”
It’s that easy!
Conclusion
An Excel drop-down list is convenient because it improves data management efficiency. Whether you are categorizing expenses or selecting the status of a project, drop-down lists can help improve your workflow and reduce errors significantly, especially once you add error messages for invalid data. Do you find Excel drop-down lists useful? What is the most creative way youโve used an Excel drop-down list? Let us know in the comments below. Or, if you have any feedback for my tutorial, feel free to tell us in the comments.
Related: