Written by Allen Wyatt (last updated October 15, 2020)
This tip applies to Excel 97, 2000, 2002, and 2003
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.) 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 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.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3182) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) 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!
Data Validation is a great tool to make sure that data entered in a cell meets whatever criteria you decide. Its ...
Discover MoreThe data validation capabilities of Excel allow you to easily create drop-down lists showing what data is acceptable for ...
Discover MoreData Validation is a great way to limit what a user can enter into a worksheet cell. It may not stop a cell from being ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2016-12-30 15:02:01
Darrell
Worked great. Good tip for pikers like me. Thanks
2016-12-14 12:01:05
Michael (Micky) Avidan
@Susan,
I Presume you saw a picture(!) of the drop-down arrow placed at the right edge of the DV cell (right over the original drop-down arrow).
Clicking the small picture will simulate a click on the original drop-down arrrow.
The picture should be linked to a small macro (assuming we deal with cell C3) - such as:
---------
Sub Open_Drop_Down_C3()
[C3].Select
SendKeys "%{down}"
End Sub
---------
Another possibility is to add a
Toolbar Forms Control to display 'Drop-down Boxw, where the Arrow button is constantly displayed.
--------------------------
Michael (Micky) Avidan
“Microsoft® Answers" - Wiki author & Forums Moderator
“Microsoft®” MVP – Excel (2009-2017)
ISRAEL
2016-12-14 11:37:03
allen@sharonparq.com
Susan: This occurs by applying an AutoFilter to the data table.
-Allen
2016-12-13 22:49:55
Susan Camac
I have seen excel spreadsheets, where they use drop down lists, but the drop down arrow appears whether you are in the cell or not. Can you please let me know how this is done?
Thanks
2016-10-17 06:04:45
Barry
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. Select the list and give it a name such as "Employees".
To define a name use Insert | Name | Define
2016-10-16 06:17:24
K.V.Subramanian
How to create a drop down list in excel 4.4 version where I am not finding any validation menu.
2016-05-04 01:00:46
Paul Vitale
Your instruction doesn't work. Created the values on a separated sheet, but I'm not sure what =Employees. This name of your sheet, the cell. You're not clear on this
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2023 Sharon Parq Associates, Inc.
Comments