Data validation in cells
Input rules in an Excel table: a list of allowed values, a range of numbers, a date format, so that an error does not enter the calculation.
Formula
Data → Data validation → type, condition, message
How to read
Data validation catches input but not what was already pasted: check source exports with formulas.