Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Single-Use Drop-Down List.
Written by Allen Wyatt (last updated July 27, 2019)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365
One of the really cool uses for the data validation feature in Excel is the ability to create a single-use drop-down list. This list allows users to select the cell and then select from a list of pre-defined values for that cell. Once the user makes a selection and moves to a different cell, the arrow for the drop-down list disappears.
Start by creating a list of the values that you want available in the drop-down list. You can create this list almost anywhere, but for design purposes it is a good idea to put the list on a different worksheet than the one where the data entry will be.
For example, let's say that you want a list of employee names. On a new worksheet, enter the employee names in any manner desired. (You probably will want to sort them in some manner.) Select the list and give it a name such as Employees. (To define a name, display the Formulas tab of the ribbon and click Define Name in the Defined Names group.) Now, back on the main worksheet, follow these steps:
Figure 1. The Data Validation dialog box.
Now, whenever someone selects the cell you used in step 1, they'll see a drop-down list arrow to the right of the cell. Clicking on the list provides a drop-down listing all the employees. The user can select one of the employees but cannot enter a different name. When they move to a different cell, the drop-down list disappears, but the selected value remains visible.
As a side note, if you don't want to place your data list in a worksheet, then you can enter the choices directly into the Data Validation dialog box. In step 6 (the Source box), leave out the equal sign and just enter the choices. Separate them by commas, and those are the choices that will be available to the user.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (6191) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Single-Use Drop-Down List.
Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!
When entering data in a worksheet, you may want to exercise some degree of control on the values that can be entered. ...
Discover MoreWant to establish a "bottom limit" on what dates can be entered in a cell? This tip presents two different ways you can ...
Discover MoreWhen setting up Excel for data entry, you often have to be concerned with what values are acceptable. For example, if ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2019-07-29 12:42:54
Dave
Eric,
I believe Mr. Wyatt was a tad unclear when he mentioned a "single use" list. From what he described, the list would be visible when the cell was selected. Once you made a choice, the list would go away. But if you changed your mind, you could re-select a new choice off the list just as you selected your first choice.
I believe what Mr. Wyatt was trying to describe was simply that the list disappears after you select your choice.
2019-07-29 12:12:13
Eric
What if you make a mistake and select the wrong name and don't realize it until after you have saved the file. What did you do to make it "single use". This seems to be the exact way that I have used this feature in the past and I was always able to go back and edit, either in the current session, or in a subsequent session.
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments