Data Validation
Data Validation
com
DATA VALIDATION IN EXCEL
Data validation is a feature available in Excel that helps you to control the information that is entered in the worksheets. This tutorial describes ways to use the data validation feature and examples to illustrate how to implement it. Data validation restricts entries to a specific type in a cell. It allows you to do the following: Create list of options / items in a cell Set range of values that can be entered in a cell Create a prompt message / warning explaining the kind of data allowed in a cell Data validation dialog box can be activated by choosing: Data Validation in Excel menu.
Has the input been validated? Select option No
1=Yes,0=No
Yes
43 44 45 46
Repayment options
Note: if the list of options is stored on a different sheet in the same workbook, you need to name the range first before using it as data validation source in another sheet. The screenshot below shows an example of where the list of options is named Products (The name box is located to the left of the formula bar). As shown, in the Source box in data validation dialogue box, we type in = Products or press F3 and paste in the range name.
Purchased product Select option US product 2
A B 6 7 8 9
F 20 mths
GH
Whole number
Construction period
3 Time
Production start time Recommended earliest start Recommended latest start
10 11 12
4 Text Length
Year for maintenance capex 6 Password abcdef
13 14 15
Decimals
Price input 5.55
5 Date
Insurance start 31-Mar-09
Error Alert
Click on the Error Alert tab to activate then add a check mark to the box. The alert message can be typed in the designated box. There are three styles of Error Alert from the drop-down list: Stop: User cannot enter invalid entry in the cell Warning: User could choose to enter invalid entry but the warning box will be displayed. If Yes is clicked, then the invalid entry is accepted. Information: This highlights the entry of invalid data; the user could leave the invalid entry in the cell.
Password Input Message abcdef Error Alert