
- MS Excel Basics
- Excel - Home
- Excel - Getting Started
- Excel - Explore Window
- Excel - Backstage
- Excel - Entering Values
- Excel - Move Around
- Excel - Save Workbook
- Excel - Create Worksheet
- Excel - Copy Worksheet
- Excel - Hiding Worksheet
- Excel - Delete Worksheet
- Excel - Close Workbook
- Excel - Open Workbook
- Excel - Context Help
- Editing Worksheet
- Excel - Insert Data
- Excel - Select Data
- Excel - Delete Data
- Excel - Move Data
- Excel - Rows & Columns
- Excel - Copy & Paste
- Excel - Find & Replace
- Excel - Spell Check
- Excel - Zoom In-Out
- Excel - Special Symbols
- Excel - Insert Comments
- Excel - Add Text Box
- Excel - Undo Changes
- Formatting Cells
- Excel - Setting Cell Type
- Excel - Setting Fonts
- Excel - Text Decoration
- Excel - Rotate Cells
- Excel - Setting Colors
- Excel - Text Alignments
- Excel - Merge & Wrap
- Excel - Borders and Shades
- Excel - Apply Formatting
- Formatting Worksheets
- Excel - Sheet Options
- Excel - Adjust Margins
- Excel - Page Orientation
- Excel - Header and Footer
- Excel - Insert Page Breaks
- Excel - Set Background
- Excel - Freeze Panes
- Excel - Conditional Format
- Working with Formula
- Excel - Creating Formulas
- Excel - Copying Formulas
- Excel - Formula Reference
- Excel - Using Functions
- Excel - Builtin Functions
- Advanced Operations
- Excel - Data Filtering
- Excel - Data Sorting
- Excel - Using Ranges
- Excel - Data Validation
- Excel - Using Styles
- Excel - Using Themes
- Excel - Using Templates
- Excel - Using Macros
- Excel - Adding Graphics
- Excel - Cross Referencing
- Excel - Printing Worksheets
- Excel - Email Workbooks
- Excel- Translate Worksheet
- Excel - Workbook Security
- Excel - Data Tables
- Excel - Pivot Tables
- Excel - Simple Charts
- Excel - Pivot Charts
- Excel - Keyboard Shortcuts
- MS Excel Resources
- Excel - Quick Guide
- Excel - Useful Resources
- Excel - Discussion
Excel data validation: Add, use, copy and remove data validation in Excel
You may restrict what users are able to type into a cell by using a handy function called Data Validation. This feature allows you to restrict what users can input into a cell. For instance, the data validation tool may assist you in limiting the length of text strings, or text starting / ending with certain characters, or the number of unique values that must be input, and so on.
Add Data Validation
Step 1 − Choose the cells in which you wish to set the data validation and add them to the list.
Step 2 − Click Data followed by Data Validation, and then choose Data Validation.
Step 3 − Provide your own validation criteria in the Data Validation dialogue box's Settings tab. inside the criterion fields,
Step 4 − After you have finished creating the criteria, you can next go to the tab labelled Input Message or Error Warning to customize the input message or error alert that is shown in the validation columns. Please click the OK button if you do not want to set the alert; this will allow you to continue the process immediately.
If you do not provide your own personal message into the Error Alert box, the default Stop alert prompt box would be presented instead, as illustrated.
Use Data Validation
Step 1 − Select the cells in which you wish to permit only whole numbers and decimals, and then go to the Data menu and click on Data Validation followed by Data Validation.
Step 2 − Under the tab labelled Settings in the Data Validation dialogue box, Please choose the item that corresponds. Choose either a Whole number or a Decimal from the Allow drop down box.
Next, in the box labelled "Data," choose one of the criteria that you need. For this illustration, I will go with the "between" option.
Next, input the minimum and maximum values that you need; in my case, those values should be between 0 and 500. To continue, choose the OK button.
Copy Data Validation
If you have already established data validation for one cell and desire to verify additional cells using the same criteria, you do not need to recreate the rule from start. Instead, you can just copy and paste the existing rule into the new cell.
Step 1 − Choose the cell that the validation rule affects, then hit the 'Ctrl + C' key combination to copy the cell.
Step 2 − After selecting what you want to validate, right-click the area, go to Paste Special, and then choose the appropriate choice.
You may also use the keyboard shortcut for Paste Special > Validation, which is Ctrl + Alt + V followed by N. Select the OK button.
Remove Data Validation
Excel provides users with two options for removing validation: the first is the traditional method developed by Microsoft, and the second is a mouse-free method developed by Excel enthusiasts who, unless it was absolutely essential, would never take their hands off the keyboard.
Step 1 − Choose the cell that has data validation applied to it. And On the “Data” tab, choose the option labelled "Data Validation."
Step 2 − On the Settings tab, choose all of the settings to delete by clicking the Clear All option, and then selecting OK.
Step 3 − There is no data validation that can be performed on this sheet.
Conclusion
In this tutorial, we explained how you can add, use, copy and remove data validation in Excel.
- Related Articles
- How to Apply Data Validation to Allow Only Numbers in Excel?
- How to Always Show an Arrow of Data Validation List in Excel?
- How to Apply Data Validation to Force Phone Number Format in Excel?
- How to Apply Data Validation to Multiple Sheets at Once in Excel?
- How to Apply Multiple Data Validation in One Cell in an Excel Worksheet?
- Excel Filter: How to Add, Use and Remove filter in Excel
- How to Copy Data from Protected Sheets in Excel?
- Excel hyperlink tutorial: create, change, use and remove in Excel
- How to generate JSON data and perform Schema Validation in Oracle?
- How to Copy Cells Data with Row Height and Column Width in Excel?
- How to add and remove error bars in Excel?
- How to Add or Move Data Labels in an Excel Chart?
- How to create train, test and validation samples from an R data frame?
- How to Add or Remove Strikethrough in Excel?
- How to add and use camera tool in Excel
