Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. 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.
by Allen Wyatt
(last updated February 28, 2015)
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, and 2013. You can find a version of this tip for the older menu interface of Excel here: Single-Use Drop-Down List.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
Want to control what users put into a cell? It's easy to do using a feature called data validation, as described in this tip.Discover More
When creating a worksheet, you may need to limit what can be entered into a particular cell. Using data validation you can ...Discover More
If you want to make sure that only unique values are entered in a particular column, you can use the data validation ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."