How to use data validation in Excel

In Excel we usually find a situation wherein we want to limit the values of certain fields. This tip is useful if you want to standardize a certain field and limit it to a few predefined values.
For example, we want a gender field to have only one of the two values: “MALE” or “FEMALE”.
image
Instead of letting users type “MALE” or “FEMALE” we can provide a dropdown like field to make sure we won’t type other information:
image
As an added validation, Excel will also prompt you if you inputted a value other than the options provided:
image
This is what we call data validation in Excel. So how do we do that? First position your cursor on the field that you want to add data validation. Then click the Data menu and then Validation:
image

The Validation dialog box will appear, enter the list of choices delimited by comma on the “source” field, check in-cell dropdown option, choose “list” on the “Allow” field:
image
You can also apply the data validation rule to a column or row or even a few selected cells. With data validation, you can be assured that there are no invalid data inside your spreadsheet.

Further Read: