Data validation: controlling what can be typed
Data Validation restricts what someone can type into a cell — useful for forms, shared spreadsheets, or preventing typos.
Creating a dropdown list
- Select the cell(s) where you want a dropdown
- Go to Data → Data Validation
- Under "Allow," choose List
- In "Source," type your options separated by commas (e.g.
Yes,No,Maybe) or select a range of cells containing the options - Click OK — now that cell shows a small dropdown arrow with only those choices selectable
Restricting to numbers within a range
- Data → Data Validation
- Under "Allow," choose Whole number or Decimal
- Set a minimum and maximum (e.g. between 0 and 100 for a percentage score)
Now, typing 150 into that cell (when the max is 100) shows a warning and blocks the entry.
Adding an input message and error alert
- Input Message tab — shows a helpful tooltip when the cell is selected (e.g. "Enter a score between 0 and 100")
- Error Alert tab — customize the warning message shown when someone enters an invalid value
Why this matters
Data validation is what turns a spreadsheet from "a grid anyone can type anything into" into something closer to a proper form — reducing mistakes when multiple people fill it in.