![]()
Excel -- Data Validation -- Introduction
To view the steps in a short video, click here
Download the zipped sample workbook
Provide a Drop-down List of Options
Use Data Validation to create a dropdown list of options in a cell. List items can be typed in a row or column on a worksheet, or typed directly into the Data Validation dialog box.
1. Create a List of ItemsIf the list of options is more than a couple of items, it will be easier to maintain if you type the list on a worksheet. The list can be entered on the sheet that will contain the dropdown lists, or on a different sheet. In this example, the list will be stored on a sheet named Lists.
- In single row or column, type the entries you want to see in the drop-down list. (Note: The list must be in a single block of cells -- e.g. you can use A2:A6, but not A2, A4, A6, A8.)
If you type the items on a worksheet, and name the range, you can refer to the list from any worksheet in the same workbook.
- Select the cells in the list.
- Click in the Name box, to the left of the formula bar
- Type a one-word name for the list, e.g. FruitList.
- Press the Enter key.
Note: To create a named list that automatically expands to include new items, use a dynamic range.
![]()
3. Apply the Data Validation
- Select the cells in which you want to apply data validation
- From the Data menu, choose Validation.
- From the Allow drop-down list, choose List
![]()
Tip: To select a range name, instead of typing it:
- In the Data Validation dialog box, under Allow, select List
- Click in the Source box, and on the keyboard, press the F3 key
- From the Paste Name list, select a named range, and click OK.
- Click OK, to close the Data Validation dialog box.
To view the steps in a short video, click here
Instead of referring to a list of items on the worksheet, you can type the list in the Source box, separated by commas. For example:
Yes,No,Maybe
Note: This method of Data Validation is case sensitive -- if a user types YES, an error alert will be displayed.
5. Allow Entries that are not in the List
To allow users to type items that are not in the list., turn off the Error Alert.
To protect the list from accidental damage, if you have entered it on a different worksheet, you can hide that sheet.
- Select the sheet that contains the list
- Choose Format | Sheet | Hide
Download the zipped sample workbook