This value doesnt match the data validation restrictions defined for this cell.

Do you like to use error checking in Excel, so that problem cells are flagged, or do you turn that feature off? There are options for data validation error messages too – do you use those?

Data Validation Error Messages

If you add a drop down list on a worksheet, or any other type of data validation, you can choose which type of Error Alert messages should be shown – Stop, Warning or Information.

The default setting is Stop, and that prevents you from entering invalid data. An error message appears, with buttons for Retry, Cancel and Help.

“This value doesn’t match the data validation restrictions defined for this cell.”

This value doesnt match the data validation restrictions defined for this cell.

Respond to the Error Message

If you see that error message, what happens if you click one of the buttons?

  • Help – Takes you to a data validation page on the Microsoft website, where there are instructions for setting up a data validation cell. It won’t give you any specific details on why the value entered wasn’t valid.
  • Cancel – Clears the cell, so you can type a new value, or select from the drop down list, if there is one.
  • Retry – Highlights the value that you typed in the cell, so you can type a new value. You will have to clear the cell if you want to use the drop down arrow.

Customized Error Messages

Instead of leaving the default settings for data validation errors, you can go to the Error Alert tab in the data validation dialog box, and customize them.

Choose one of the Styles, and enter a Title and Error message that will give people details on what went wrong.

This value doesnt match the data validation restrictions defined for this cell.

In this example, I selected Warning style, and entered a customized message. When I enter an item that isn’t in the list, the customized message appears, with a Warning icon, and different buttons.

This value doesnt match the data validation restrictions defined for this cell.

Turn Off Error Messages

In some cases, you might want to turn off the data validation error alerts completely, like I do when allowing multiple selections from a drop down list.

On the Error Alert tab, remove the check mark from “Show error alert after invalid data is entered”

This value doesnt match the data validation restrictions defined for this cell.

Data Validation Error Messages in Tables

If you’re using data validation in a named Excel table, invalid data might be flagged by Excel’s Error Checking Rules, even if you turned off error alerts, or set the Style to Warning or Information.

In the screen shot below, there is a warning on cell C2, because two items are in the cell.

This value doesnt match the data validation restrictions defined for this cell.

If you copied cell C2 to a different part of the worksheet, outside of a table, the error warning would disappear – it only affects tables.

Turn Off Table Data Setting

If you know that there isn’t really a problem with the cell’s data, you can simply ignore the error warnings. Or, if there are just a few messages, you can set the error warning in each cell manually, to Ignore Error.

If you want to turn off all of the data validation warnings in tables, you can follow the steps below, to change one of the Excel options.

  • Click the arrow on the Error alert, and click Error Checking Options
  • In the Options window, in the Formulas category, scroll down to the Error Checking Rules section.
  • Remove the check mark for “Data entered in a table is invalid”.
  • Click OK.

Keep in mind though, that Excel will stop flagging ALL data errors in your tables, in ALL workbooks that you open. You can read the details on my website.

This value doesnt match the data validation restrictions defined for this cell.

Video: Data Validation Messages

To see the steps for creating a data validation input message or error message, watch this short video tutorial.

_______________

When you try to input some value in a cell and you get an error message in Excel 2016:

This value doesnt match the data validation restrictions defined for this cell.
Excel 2016 - This value doesn't match the data validation restrictions defined for this cell.

or in Excel 2013:

This value doesnt match the data validation restrictions defined for this cell.
Excel 2013 - The value you entered is not valid. A user has restricted values that can be entered into this cell.

This means that someone has set Data Validation on that cell. To view its configuration and remove if needed follow these steps:

  1. Select cell and go to Data -> Data Validation
    Depending on the size of the window you access it in a bit different way.
    Please look at the screenshots below:

    This value doesnt match the data validation restrictions defined for this cell.
    Excel - Data -> Data Validation - Narrow Size Window. Click to enlarge.
    This value doesnt match the data validation restrictions defined for this cell.
    Excel - Data -> Data Validation - Middle Size Window. Click to enlarge.
    This value doesnt match the data validation restrictions defined for this cell.
    Excel - Data -> Data Validation - Wide Size Window. Click to enlarge.

  2. You will see Data Validation window. Look into Settings tab, Validation criteria section.
    If you want to disable validation, select Any value in Allow drop down and accept by clicking OK.

    This value doesnt match the data validation restrictions defined for this cell.
    Excel - Data Validation Window - Settings - Criteria. Click to enlarge.

How do you fix this value doesnt match the Data Validation restrictions defined for this cell?

The value you entered is not valid..
Select the cell or cells that you want to remove validation from..
Click Data > Data Tools > Data Validation..
Click the Clear All button..
Click OK..

How do you match the Data Validation restrictions defined for this cell?

If you have data restrictions in place and a user enters invalid data into a cell, you can display a message that explains the error. Select the cells where you want to display your error message. On the Data tab, click Data Validation > Data Validation.

How do you fix a Data Validation error in Excel?

Resolve a data validation error by using error checking in Excel.
Start Excel, and select the Formulas tab..
In the Formula Auditing group, select Error Checking. ... .
For basic information about the error, see the text that describes the error in the Error Checking dialog box..

How do I override Data Validation restrictions in Excel?

Select the cells with the drop-down list. Click Data >Data Validation. On the Settings tab, click Clear All. Click OK.