
- 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
How to Apply Multiple Data Validation in One Cell in an Excel Worksheet?
Applying a single data validation to the cells in Excel is a very simple and frequently used process, but have you ever tried applying multiple data validations to a single cell at the same time? Read this tutorial to learn a simple way to apply multiple data validation rules in one cell in an Excel worksheet.
Applying Multiple Data Validation in One Cell
We will use a single formula to perform multiple data validations. Let's look at a quick way to apply multiple data validations in one cell in Excel. The problem we solve in this article is that we only accept a number less than 500 or a text if it is present in the list provided in the Excel file. Our formula will contain both conditions.
Step 1
Assume we have an Excel sheet with data that looks like the image below.
Step 2
Now to apply the data validation, select the range of cells where you want to apply the data validation, then click on data and click on data validation, and a new pop-up window will be opened as shown in the below image.
Now in the new pop-up, select Allow as Custom and enter the formula =OR(A2<$C$2,COUNTIF($D$2:$D$7,A2)=1) in the formula box.
Step 3
Now to customise the error message, click on "Error alert," then enter Title as "Invalid" and Message as "data format not allowed" and click "OK" as shown in the below screenshot.
Step 4
When we try to enter any other data, an error message will be displayed, as shown in the below image.
Conclusion
In this tutorial, we used a simple example to demonstrate how we can apply multiple data validations in one cell in Excel to highlight a particular set of data.
- Related Articles
- How to Apply Data Validation to Multiple Sheets at Once in Excel?
- How to Apply Data Validation to Allow Only Numbers in Excel?
- How to Apply Data Validation to Force Phone Number Format in Excel?
- How to Convert One Cell to Multiple Cells/Rows in Excel?
- Excel data validation: Add, use, copy and remove data validation in Excel
- How to get or reference cell from another worksheet in Excel?
- How to Always Show an Arrow of Data Validation List in Excel?
- How to Apply Same Formula to Multiple Cells in Excel?
- How to Apply Colour Gradient Across Multiple Cells in Excel?
- How to Apply the Same Filter to Multiple Sheets in Excel?
- How to Combine Data from Multiple Excel Worksheets into One?
- How to Copy Cell Format from One Cell (One Sheet) to Another Cell (Sheet) in Excel?
- How to Apply Conditional Formatting Search for Multiple Words in Excel?
- How to apply multiple AND conditions to a data frame in R?
- How to Auto-Protect a Specific Worksheet in Excel?
