bottom
Great ExcelTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > ExcelTips Home > Data Entry > Data Validation > Single-Use Drop-Down List

Single-Use Drop-Down List

Summary: Want to create an easy drop-down list? You can do so by using the data validation features of Excel. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, Excel 2003, and Excel 2007.)

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 use Insert | Name | Define or, in Excel 2007, display the Formulas tab of the ruler and click Define Name in the Defined Names group.) Now, back on the main worksheet, follow these steps:

  1. Select the cell where you want the drop-down list to appear.
  2. Choose Validation from the Data menu. Excel displays the Data Validation dialog box, with the Settings tab displayed. (To display the Data Validation dialog box in Excel 2007, display the Data tab of the ruler and then click Data Validation in the Data Tools group.)
  3. Using the Allow drop-down list, choose List. (Click here to see a related figure.)
  4. Make sure the In-Cell Dropdown check box is selected.
  5. In the Source box, enter =Employees. (This is the name you earlier gave to the employee list.) Don't forget the equal sign; it is very important.
  6. Click OK.

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 5 (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.

Tip #3182 applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003 | 2007


Tame Your Data! ExcelTips: Filters and Filtering provides all the details necessary to let you manage large sets of data with confidence and ease. Its information-packed pages demonstrate how to use the two types of filters provided by Excel: AutoFilters and advanced filters.
 
Check out ExcelTips: Filters and Filtering today!

Helpful Links

Ask an Excel Question
Make a Comment

Tips.Net Home

ExcelTips FAQ
ExcelTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
ExcelTips Site

 

Great Info!

Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)