Locked lesson.
About this lesson
How to use data validation to create dropdown menus, and control what can be entered in specific cells.
Exercise files
The exercises below will open in a new tab. When signed in to your Google account, go to File --> Make a copy to get an editable copy of the file.
Data Validation SolutionLink Data Validation
Link
Quick reference
Data validation
Data validation is used to control what types of data can be entered into specific cells in Google Sheets, as well as create drop down menus.
When to use
When you only want to allow certain types of data to be entered into a range of cells in your sheet.
Instructions
Create a data validation rule
- Select the cells you want to add the rule to
- Click “Data”
- Click “Data Validation”
- Options:
- Cell range: Change which cells the rule will apply to
- Criteria: Set the rule which determines what data is allowed
- List from a range: Select a range of cells somewhere else on the sheet; data much match one of these cells to be valid
- List of items: Enter a list of valid entries separated by commas
- Number: Allow a number matching specific rules
- Text: Allow text matching specific rules
- Date: Allow a date matching specific rules
- Custom formula is: Create a custom formula
- Show dropdown list in cell: Displays the acceptable data as a dropdown list; only works with “List from a range” and “List of items”
- On invalid data: Set what happens when invalid data is entered in the cell
- Show warning: Show a warning that the entry is invalid
- Reject input: Show a warning window and do not allow the entry
- Appearance: add help text to clarify what data is allowed
- Click “Save”
Modify or remove a data validation rule
- Select the cells you want to modify or remove the rule from
- Click “Data”
- Click “Data Validation”
- Make changes or click “Remove Validation”
Lesson notes are only available for subscribers.