If you've used data validation in Excel before, you probably selected the relevant cells, clicked "Data Validation" in the Data tab on the ribbon, and created the rule in the Data Validation dialog ...
Fix Excel formulas that won’t spill! Learn how to troubleshoot #VALUE errors caused by Analysis ToolPak functions and improve your workflow.