Follow these steps
- Select empty practice cells. Pick the cells where you want the entry rule applied.
- Set the allowed range. Open Data Validation, choose Whole number and specify a comparison and limits.
- Test both outcomes. Type one permitted value and one excluded value. Configure a Stop alert if you need direct entry rejected.
Check your result
A bad test value triggers the intended behavior. Check pasted values and imported data independently.