How do you fix the 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? Show
Data Validation Error MessagesIf 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.” Respond to the Error MessageIf you see that error message, what happens if you click one of the buttons?
Customized Error MessagesInstead 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. 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. Turn Off Error MessagesIn 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” Data Validation Error Messages in TablesIf 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. 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 SettingIf 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.
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. Video: Data Validation MessagesTo see the steps for creating a data validation input message or error message, watch this short video tutorial. _______________
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 I fix Data Validation in Excel?Fix: Turn Error Alert On
Select the cell that contains a data validation list. Choose Data|Validation. On the Error Alert tab, add a check mark to the Show error alert after invalid data is entered box. Click OK.
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.
|