How to Fix Excel Validation Error When Entering a Value in a Cell
Question details
The user encounters a data validation or formula error when attempting to enter a value into a specific cell and is unable to bypass it due to workbook protection.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Entering data into a sequence of cells where some contain drop-down lists, but typing in a subsequent cell triggers an error. The workbook cannot be freely modified.
- Observed behavior
- Excel displays a validation error upon entering a value in the target cell, preventing data entry, and the user is locked out from modifying the validation rules.
Verify if the worksheet is protected by checking the Review tab. If it is locked, you will need the workbook password or assistance from the file's creator to modify the validation rules.
Contact the Author to Unprotect the Worksheet
Since the workbook cannot be modified directly, you must unprotect the sheet to bypass or adjust the restrictive data validation rules.
Data validation restrictions are strictly enforced in protected Excel worksheets to ensure data integrity. If a cell throws an unexpected error, the protection must be temporarily removed to investigate or bypass the rule.
Contact the creator or authorized editor of the Excel file to request the unprotect password or ask them to update the validation rule for the specific cell.
Once you have permission or the password, navigate to the Review tab on the Excel ribbon and click on 'Unprotect Sheet'.
If prompted, type the password provided by the file owner and click OK to unlock the cell properties.

Check and Correct the Data Validation Formula
If you gain editing access, inspect the custom validation formula causing the error to ensure it is logically sound.
Resolve Spreadsheet Errors Quickly with WPS Office
WPS Office provides an intuitive and highly compatible spreadsheet environment. You can easily manage data validation, audit formulas, and unprotect sheets exactly as you would in Microsoft Excel.
- 1. Open the spreadsheet: Launch WPS Spreadsheet and open your .xlsx file.
- 2. Unprotect the sheet: Navigate to the Review tab and click 'Unprotect Sheet' if the workbook is locked by the author.
- 3. Modify Data Validation: Select the restricted cell, go to the Data tab, click 'Validation', and adjust or clear the rule to prevent further errors.

Frequently Asked Questions
Why does Excel say 'This value doesn't match the data validation restrictions'?
This error message appears when the data you are trying to type into a cell violates the specific criteria (like a drop-down list, date range, or custom formula) set by the workbook author in the Data Validation settings.
Can I bypass data validation in a protected Excel sheet?
No, you cannot bypass or alter data validation rules if the worksheet is protected. You must first unprotect the sheet via the Review tab, which typically requires a password from the author.
How do I remove data validation if I have the password?
After unprotecting the sheet in the Review tab, select the cell causing the error. Go to the Data tab, click 'Data Validation', and then click 'Clear All' in the bottom left corner of the dialog box.
What does a formula like LEN(A3=0) do in data validation?
It is likely a mistakenly written formula. The expression A3=0 evaluates to TRUE or FALSE. Therefore, LEN(A3=0) calculates the character length of the word 'TRUE' (4) or 'FALSE' (5). To check if a cell is empty, it is better to use =ISBLANK(A3).




