How to Apply Data Validation in Excel

Sorry, there were no results found for “”
Sorry, there were no results found for “”
Sorry, there were no results found for “”
You’re leading a big product launch. Your team has worked hard for months. They’ve tested the product, asked customers what they think, and studied the market. You have this important information recorded in an Excel reporting spreadsheet.
As the launch day approaches, you decide to review the reporting spreadsheet—and notice a pricing error and a higher-than-usual customer rating.
Your confidence drops. How many other errors are lurking in this data? How long will it take to check and verify every cell?
You can avoid this anxiety by setting up data validation in Excel.
Data validation in Excel turns potential data inaccuracy into accurate workflows. Since you set a logical range for entries, incorrect information gets flagged immediately. No more out-of-range customer ratings.
This guide will show you how to use data validation in Excel to save you time, reduce stress, and, most importantly, build confidence in your data.
Data validation in Excel is a powerful feature that allows you to control what users can enter into specific cells. It checks if the data being entered meets specific criteria you set, ensuring only valid information makes it into your spreadsheet.
Data validation allows you to:
Let’s walk you through the data validation process step by step.
Step 1: Select the cells
First, highlight the Excel cells where you want to apply the validation. This could be a single cell, a column, or a range of cells.

Step 2: Access data validation
Navigate to the Data tab on the Excel ribbon and select Data Validation.

Step 3: Choose validation criteria
In the Data Validation dialog box, you’ll see a dropdown menu under Allow. Based on your requirements, choose any option from the list.

For instance, let’s set a rule to ensure a cell only accepts whole numbers between 10 and 100:
3.1 Select Whole Number from the Allow dropdown. You’ll notice it’ll unlock more related fields

3.2 Set Data to Between

3.3 Enter 10 in the Minimum field and 100 in the Maximum field and click OK

Once you have validated these criteria, users will be restricted from putting invalid values. In this case, they can’t enter any digit less than 10 or more than 100. Let’s try that.

To make your data collection process even more organized, you can use the Input Message option to inform users what information they need to put in that cell.
Step 4: Set up messages under the Input Message tab (optional)
To display a message that indicates to the user what data is allowed in a specific cell, click the Input Message tab in the data validation dialog and perform the following steps:
4.1 Check the ‘Show input message when the cell is selected’ box

4.2 Enter a title for your message. Here, we gave the title ‘Information!’ under the input message tab

4.3 Type a helpful message that will appear when users select the cell. Click OK

Upon selecting the validated cell, the user will see the following message:

Step 5: Configure error alert (optional)
Similarly, you can customize the error alert under the Error Alert tab for invalid data entered in a cell.
To create a custom error message, navigate to the Error Alert tab in the data validation dialog and define the following parameters:
5.1 Select the ‘Show error alert after invalid data is entered’ checkbox

5.2 In the Style dropdown, choose the desired alert type

5.3 Enter the title and text of the error message in the corresponding areas and click OK

Now, if any user tries to input any invalid data, Excel will display the alert message that we just customized.

Sometimes, the built-in validation options aren’t enough for complex rules. In these cases, you can use custom formulas.
To use a custom formula:
💡Key Point: Custom formulas must return TRUE for valid data and FALSE for invalid data.
By mastering these basics of data validation in Excel, you’re well on your way to creating more robust, error-free spreadsheets.
While basic data validation rules are useful for simple scenarios, Excel offers more sophisticated options for complex data management needs. Here are some advanced techniques:
Create cascading lists where the options in one list depend on the selection in another. For example, say you want to show cities in a drop-down list based on the state selected in the sheet.
Example: =INDIRECT(A1)
In this example, A1 contains the name of the range to use for the dropdown.
Use AND, OR, NOT functions to create complex logical tests.
Example: Value must be between 1-10 OR 20-30
=OR(AND(A1>=1,A1<=10),AND(A1>=20,A1<=30))
Use dynamic named ranges to automatically update validation lists as data changes.
For example, if you’re tracking customer information and frequently adding new clients, a dynamic named range can help ensure that the most current client list is available for selection in various forms and reports.
Combine data validation with conditional formatting for visual feedback.
For example, say you’re tracking sales numbers against targets. You could apply conditional formatting so that sales below target are colored red, while those above target are green.
Validate data against values on other sheets or even other workbooks.
Example: Ensure a value exists in Sheet2
=COUNTIF(Sheet2!A:A,A1)>0
While these techniques offer powerful data control, they can also make your spreadsheets more complex. So, always document your advanced validation rules for future reference.
We’ve seen how data validation can transform a spreadsheet from a potential minefield into a powerful, error-resistant tool. Let’s check out some common data validation types with their real-world applications.
Let’s say you’re leading a project and want to track the working hours of your team members. You want to make sure team members enter only whole numbers between 3 and 24.
How to set it up:

Now, your team can’t enter working hours outside of this criteria.
This is great when you need to work with numbers that aren’t always whole, like prices or measurements.
Let’s say you’re tracking expenses and want to make sure people enter dollars and cents correctly:

Now, your team members are restricted to numbers like 10.50 or 3.75.
This one’s great for creating dropdowns. Let’s say you’re a content manager who wants to track writer assignment statuses.
Here’s how you can use List Validation in Excel:

You now have a neat dropdown menu in your cells.
This is perfect for when you need dates within a specific range, like submission deadlines for a task.
Try this:

This way, no one can enter dates outside your task timeline by mistake.
This is super handy for schedules or when you’re logging durations. Imagine you’re making a workout log and want to record exercise times:

This way, you’ll always have properly formatted times in your workout log!
This one’s great when you need text to be a certain length, like for codes or IDs. Let’s say you’re a teacher, and student IDs should always be six characters:

Now, only 6-character IDs will be accepted—no more missing digits or extra-long IDs.
This one’s a bit trickier but super useful! Let’s say you only want to allow values greater than the cell above.
Here’s how to do it:

Now, each value must be larger than the one above it.
Don’t be afraid to play around with these options. The more you practice, the better you’ll get at using them. They’ll save you tons of time in the long run by preventing mistakes.
If something doesn’t work right, you can always adjust your data validation settings.
Sometimes, data validation doesn’t work quite as we expect. Let’s discuss some common problems and how to fix them.
You set up a list validation but can’t find the dropdown arrow. Let’s check a couple of things:
Excel can be a bit picky about dates sometimes. If it rejects your dates, try these tricks:
If invalid data is sneaking past your validation, let’s double-check a couple of things:
When your custom formula always shows as invalid or valid:
If your validated cells seem locked, check these:
If the regular copy-and-paste function doesn’t reflect validation, try this instead:
Sometimes, you might need to change or remove data validation rules. Maybe you inherited a spreadsheet, or your data needs have changed. Don’t worry—finding and removing data validation is easy once you know how.
To see which cells have data validation:

Excel will now highlight all cells that have data validation rules.
To remove data validation from cells:

The data validation rules are now gone from those cells.
Knowing how to find and remove data validation gives you more control over your spreadsheets, allowing you to change them as your needs change.
Excel is a powerful tool, but it’s not perfect for every situation. As your projects grow, you might face some challenges. Let’s look at some common issues:
Excel works great for small to medium-sized datasets. But as your data grows, you might hit some roadblocks:
While Excel has improved its sharing features, it still has some collaboration hurdles:
Excel’s data validation features, while useful, have some restrictions when compared to other data entry software:
Excel has some automation features, but they might not meet advanced needs:
For sensitive data, Excel might not provide the level of security you need:
While Excel is a powerful tool, it has limitations for complex project management and large-scale data handling. In such cases, you should explore Excel alternatives.
Let’s explore ClickUp, an all-in-one productivity platform that addresses many of Excel’s shortcomings.
ClickUp is more than just a spreadsheet software. It’s a comprehensive productivity platform that handles tasks, projects, and databases. Here’s why it’s a worthy Excel alternative:
ClickUp’s Table View is the heart of its database functionality.

Here’s what it can help you do:

What’s more, unlike Excel’s fixed grid, ClickUp Table View offers 15+ views to interact with your data:
This variety allows you to switch views without changing your underlying data, giving you new insights and perspectives.
ClickUp’s ability to provide multiple views (people react differently to different views) of project tasks allows us to build a core framework for a project very quickly, which can be easily understood by all involved. This simplifies the entire project.

ClickUp shines when it comes to teamwork:

The idea of data validation on ClickUp is working smarter, not harder. Here’s how ClickUp Automations does this:
Automation can handle data entry, status updates, notifications, and more, reducing human error and freeing up your time.
Data validation from scratch can be difficult, especially if you’ve never done it. To assist you, ClickUp offers:
One such great beginner-friendly template is the ClickUp Spreadsheet Template. This feature-rich, adaptable, and ready-to-use template has customizable subcategories to help you collect and manage critical data.
This template enables you to:
Excel remains a powerful and versatile tool for many data management tasks. However, you must recognize its limitations, especially when dealing with large datasets, complex relationships, or collaborative projects.
Alternatives like ClickUp offer innovative solutions to some of Excel’s challenges, particularly in collaboration and automation.
When choosing a data management tool, consider scalability, ease of use, collaboration features, and integration capabilities. The goal is to find a solution that enhances your productivity and helps you derive deep insights.
Sign up on ClickUp today!
© 2025 ClickUp