• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Excel Tutorials by Y. Acosta

Excel Tutorials + Tips

  • Excel Tutorials
  • Etsy Store
  • Other Resources
  • About Me
    • About Me
    • Contact Me
    • FREE Printable List of Top Excel Keyboard Shortcuts
  • FREE pdf of Top Excel Shortcuts!

Data Validation Error Alert Messages in Excel (with video tutorial)

❤ Support Free Excel Training by Sharing -

We may be compensated for your purchase of any of the products featured on this page – it helps us keep the lights on :)

Data Validation rules in Excel are used to control what users can enter into a cell. When you create a Data Validation rule, you can use Data Validation Error Messages to let your users know when they’ve type something that does not match the rule you set.

You can even create custom error messages to give your users better information and directions.

WATCH: Data Validation Error Alerts in Excel – Video Tutorial

Create a Data Validation Rule

The first thing you’ll need to do before you begin working on your error message is, of course, to create a Data Validation rule.

Here is a quick overview of how to create a Data Validation rule:

  1. To create a Data Validation rule, you’ll first need to select the cells you want to apply the rule to
  2. Then, go to the Data tab of your Excel Ribbon. Data Validation will be in the Data Tools section
  3. Once you click on Data Validation, the Data Validation pop-up window will appear
  4. You’ll create your rule in the “Settings” tab of the pop-up window
  5. Under “Criteria,” select the type of data you want to allow (whole numbers, text length, dates, time, items from a list, etc)
  6. Set the parameters for your rule (whole numbers between certain values, the number of characters in a text length, a certain date, etc)
  7. Click OK

What are Excel Data Validation Error Alerts???

As the name implies, Data Validation rules validate the data entered into any cell that has a rule applied to it.

Once you’ve created a Data Validation rule, any entry into a cell containing the rule that does not match the rule settings will be considered an “error.”

There are 3 different types of Error Alert styles to choose from. They range in flexibility from not allowing an error to allowing the entry but notifying the user that there’s an error.

The “Error Alert” tab of the Data Validation window is where you’ll find options for setting these permissions.

You can also create custom error alert messages here.

Excel Data Validation Error Tab
Excel Data Validation Error Alert Tab

Data Validation Error Alert Styles

There are 3 types of Data Validation Error Alert Styles to choose from and each behaves a bit differently:

1. Stop: This is the default error alert style. A Stop error alert prevents users from typing anything that does not match the settings in your data validation rule.

For example, if you create a data validation rule that says only 2 characters can be entered in a cell, and use a Stop error alert, users would see this error message and would not be able to proceed unless their entry was exactly 2 characters.

Excel Data Validation Default Stop Error Alert
Excel Data Validation Default Stop Error Alert

2. Warning: A Warning error alert communicates that an error has been entered in a given cell but gives the user the option to ignore the error and continue with their entry without making a correction.

Excel Data Validation Default Warning Error Alert
Excel Data Validation Default Warning Error Alert

3. Information: An Information error alert tells the user that their entry does not match the data validation rule for the cell but allows them to continue without fixing it.

Excel Data Validation Default Information Error Alert
Excel Data Validation Default Information Error Alert

These error alerts will display the default message like in the images above, but you can customize an error message for your users.

Create a Custom Data Validation Error Message

You might want to let your users know why they got an error and share instructions so that they know how to correct it.

To do this, you can create a custom Data Validation error message that they will see when they type something that does not match the Data Validation rule you set.

Let’s say you created a Data Validation rule that limits the number of characters that can be entered in a given cell(s) to 2 characters. But your user typed only 1 character, so they got an error alert.

You can create a custom error message with instructions letting them know to type exactly 2 characters.

4 Steps to Create a Custom Data Validation Error Alert Message:

  1. In the Data Validation window, confirm that the box that reads “Show error alert after invalid data is entered” is checked off.

    If this is unchecked, no error message will display and users can enter invalid data.

    Excel Data Validation Show Error Alert Checkbox

  2. Select which of the 3 types of Error Alerts you’d like for your project.

  3. Create a Title for your Error alert. In the example of limiting the number of characters entered in a cell, you could use a title like “Character Limit Surpassed.”

    The Error title should be short and to the point.

    Excel Data Validation Custom Error Alert Title Field Box

  4. Create a custom Error Message to help your users. You can use the Error Message field to provide more detail on the error and instructions for how to fix it. Keep in mind that it’s still a good idea to be brief.

    In the example of setting character limits, you could use an Error Message like “The entry for this cell needs to be 2 characters in length.”

    Click OK.

    Excel Data Validation Custom Error Alert Message Field Box

The custom Data Validation Error Message in this example would look like this:

Data Validation Custom Error Alert Example
Data Validation Custom Error Alert Example


To see how to create custom messages for formula errors in Excel, take a look at our tutorial on how to use the IFERROR function.

Data Validation Error Alerts Pin for Pinterest

Related Articles:

  • Prevent Duplicate Entries in Excel (featured image)
    Prevent Duplicate Entries in Excel (+…
  • How to set a length limit on Excel cells - Tutorial
    How to Set Character Limit in Excel Cells…
  • Apply Multiple Data Validation Rules in Excel (feat. image, thumbnail)
    3 Steps - Apply Multiple Data Validation…

❤ Support Free Excel Training by Sharing -

blank

About Y. Acosta

Yil's (pronounced like "Jill") passion for Excel spreadsheets can be traced back to her days in marketing, where she spent significant time working on analytics. As a content creator, she now specializes in Excel spreadsheet tutorials. Make sure to visit the About page to learn more.

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Follow us:

Latest Tutorial:

Featured image for How to Use Find & Replace to Remove Wildcard Characters in Excel article

Click Here for More Excel Tutorials!!!

Get Your FREE pdf of Top Excel Keyboard Shortcuts!

* indicates required

blank

Image-button for Invoice Template for Etsy

Copyright © 2025

  • Home
  • Excel Tutorials
  • Resources
  • About Me
  • Privacy Policy & Terms of Use
  • Disclaimer
  • Advertiser Disclosure
  • Contact Me
  • FREE Printable List of Top Excel Keyboard Shortcuts
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
SettingsAccept
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT