Locked lesson.
About this lesson
In this lesson, we look at how to use data validation to create a dropdown list in Excel to limit input to pre-set options.
Quick reference
Data Validation: Create a Dropdown List
In this example, we use data validation to create a dropdown list to accommodate limited options and we limit the number of characters in a field and move to limit a field to text only.
When to use
To prevent garbage input or limit input to only certain options, use data validation.
Instructions
Data validation menu
- Data tab, tools grouping, data validation
Username
- Select text length to limit the number of characters, this value must start with an alphabetical character to be seen as text. Numbers may follow the initial alphabetical character
First name
- Use the formula ISTEXT to check if the value in the cell is text or a number. This functions the same as the username field, but does not limit the number of characters
State
- Use the list provided to add validation as a list. This will result in a dropdown created with the options on the list provided.
Clear validation
- Select the cells, go to the normal validation screen and on the bottom left-hand corner, click clear validation
Validation circles
- Data tab, tools grouping, data validation, show invalid data / clear validation circles
- If data exist in the sheet before the validation is applied, then the data stays unaffected, or, if you selected to add the data anyway, the invalid data will be in the sheet
- If you circle invalid data, the circles will indicate the issues, clear will remove circles
Lesson notes are only available for subscribers.