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 ...
If you are getting The file is corrupt and cannot be opened error while opening a file in Word, Excel or PowerPoint on Windows 11 or Windows 10, here is how you can ...