Welcome toExcel2007.Tips.Net
Legal Tips
School Tips
WordTips (menu) Tips
WordTips (ribbon) Tips
Controlling How Excel Adjusts Capital Letters
Numbers Mysteriously Divided by 100
Displaying Comment Boxes where You Want Them
Turning the Formula Bar On and Off
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:
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.
Related Tips:
Tremendous Table Tips! We often take tables for granted, but Word includes some very powerful ways you can present your tabular data. Discover how to make your tables better, easier to understand, and more effective. Check out WordTips: Terrific Tables today!