In this article we are explaining data validation in Excel 2013. Data validation is the feature of Excel that prevents the user from incorrect data entry in an Excel worksheet and ensures that only accurate information is entered. For example we have a phone number field that can contain only 10 numeric digits; it can't contain other text data and the number of digits must be a minimum and maximum of 10.
Data validation restricts the type of information that can be entered in the cell. Data validation is used to ensure that appropriate and accurate information is entered in the cell. In an Excel worksheet we can set various types of validation such as numeric validation, length validation, list validation etc.
How to set data validation to the Excel cell.
Open an Excel worksheet and select a cell area where you want to set validation.
In the "Data Tools" tab click on "Data validation".
The Data Validation window will be shown. In the Data Validation window you will see various types of validation; see:
From the Data Validation window you can choose various types of validation.
In this example we are using
List validation on the "Address" field,
Decimal validation on the "Salary" field,
and length validation on the "Phone no" field.
After specifying a validation we try to enter incorrect information;
it will show an error message.
In the address field, if we want to enter an address that does not exist in the list then it will not accept it.
It accepts only those addresses that are defined in the list validation.