In Excel, a data validation failure usually means an entered value does not meet the rule set for that cell, such as a required list choice or number range. Check the cell’s rule under Data > Data Validation, then correct the value or adjust the rule; if a value was pasted in, verify it separately because pasting can bypass the usual warning.
What a data validation failure means
Data validation is an Excel feature that limits what people can enter in selected cells. A rule might allow only whole numbers from 1 to 100, dates within a specified period, text of a certain length, or items from a dropdown list. When someone types a value that violates a rule, Excel can show an alert. The exact wording depends on the workbook: the creator can write a custom error message, so “Data validation failed” is not one universal Excel error.
A rejected entry does not necessarily mean the workbook is damaged. Usually, Excel is enforcing a restriction intentionally. For example, if a cell accepts only the choices North, South, East, and West, typing “Central” should be rejected when the rule uses a Stop alert. The correct response may be to choose an allowed value, correct a typo, or ask the workbook’s owner whether the rule needs updating.
Validation rules are instructions for data entry, not a complete security barrier. They can help prevent common mistakes, but users may be able to introduce invalid values through pasting, filling, imports, or other workflows. A workbook that relies on clean data should include a way to inspect existing entries, not just a rule for future typing.
How Excel validation works
In Excel for Microsoft 365 on Windows, select a cell and choose Data > Data Validation to view or change its rule. The Data Validation dialog has settings for the type of allowed value and, where applicable, its limits or source. It also has Input Message and Error Alert tabs. The input message can explain what to enter when the cell is selected; the error alert controls how Excel responds when someone types a disallowed value.
The available validation types include whole number, decimal, list, date, time, text length, and custom. A rule can apply to one cell or a selected range. For instance, a whole-number rule can set a minimum and maximum, while a date rule can restrict entries to a period. A custom rule uses a worksheet formula that evaluates to TRUE for an acceptable entry and FALSE for an unacceptable one.
For a list rule, the Source field can point to a range of allowed choices or contain a short, comma-separated set of items. A range is easier to maintain when choices may change. If a list’s source range is on another sheet, a named range is often a practical way to refer to it. A dropdown is optional: the In-cell dropdown setting controls whether the arrow appears, but the underlying list rule can still be applied without displaying an arrow.
Quick checks to identify the cause
Start with the cell that produced the warning, not with the whole workbook. Select it and open Data > Data Validation. Review the Allow setting, the comparison condition, the minimum and maximum, and any list source or custom formula. If the command is unavailable, the selected cells may be in a protected worksheet or the selection may include cells with incompatible settings; check the sheet’s protection and inspect a single cell.
Then compare the actual entry with the rule. Look for extra spaces, a misspelled list item, a number stored as text, or a date interpreted differently from what the creator intended. For a list, inspect the source cells too: the expected choice might be missing, misspelled, or blank. If the issue affects many cells, check whether they share the same rule rather than assuming one cell’s settings apply throughout.
- Confirm the active cell address and the range selected in the Data Validation dialog.
- Check whether the entered value is the right type, such as a real date rather than text that looks like a date.
- For a list, compare the entry with the source value, including spaces and punctuation.
- Review whether the rule’s limits include the boundary value you are trying to enter.
- Ask whether the workbook was recently edited, copied, imported, or protected.
Common causes and practical fixes
The value is outside the permitted range. A rule might allow a score from 0 through 100, while the entry is 101. If the restriction is correct, change the entry. If the permitted range has changed, an authorized editor can update the limits in Data > Data Validation. Check whether the boundary is inclusive: “between” allows the stated endpoints, while other comparison choices can set different conditions.
The list value does not match exactly. A dropdown choice may look similar to a typed value but contain a trailing space, different punctuation, or a slightly different spelling. Select the dropdown item when available, or compare the cell to the list source. If choices are maintained on a worksheet, correct the source list rather than repeatedly overriding the rule.
The entry has the wrong data type. A cell formatted to display dates may still contain text, and a number imported from another system may be stored as text. Formatting changes appearance; it does not reliably convert the underlying value. Re-enter or convert the data into the required type, then test it against the rule. Date interpretation can also depend on regional settings, so ambiguous entries such as 03/04/2026 may be read differently in different locales.
A custom rule refers to the wrong cells. Custom validation formulas often use relative references, so the formula must be written with the active cell at the top-left of the selected range in mind. For a rule applied to A2:A100, with A2 as the active cell, this formula accepts numeric values from 0 to 100:
With A2 as the active cell and the rule applied to A2:A100, use =AND(ISNUMBER(A2),A2>=0,A2<=100). It returns TRUE for the number 75 and FALSE for the number 101 or text such as abc. The references adjust for each row in the applied range.
If the formula uses an absolute reference when it should move row by row, or a relative reference when it should stay fixed, validation may appear inconsistent. Check the reference pattern and test both a valid and invalid sample in a spare cell or temporary copy of the workbook. Do not delete a rule until you know whether it protects other entries.
When pasting or importing is involved
One common misconception is that data validation guarantees every value in a cell will comply. In practice, Excel’s alert is primarily an entry-time prompt; copying and pasting or importing data can place values in cells without the same interactive rejection. A cell can therefore contain an invalid value even though a validation rule is still present. The rule may also be replaced or changed when formats and cells are copied from elsewhere.
To audit existing entries, select the relevant range and use Data > Data Validation > Circle Invalid Data, where available in the desktop Excel interface. Excel marks values that do not meet the current rules. Correct the highlighted entries, then use Data > Data Validation > Clear Validation Circles to remove the markings. These circles identify problems against the existing rules; they do not automatically repair values or prove that the rules themselves are correct.
For a recurring import, include a separate check in the workflow. Compare imported categories with the approved list, test numeric limits, and review rows flagged by the check before using the data in reports. If data comes from a system that must enforce strict requirements, validate it at the source or in a controlled import process as well as in Excel.
Changing, removing, or repairing a rule
If the rule is wrong, select the affected cells and open Data > Data Validation. Adjust the settings and confirm the change. If an entire range should share one rule, apply it deliberately to the full range and verify a few cells afterward. The Apply these changes to all other cells with the same settings option may help when correcting matching rules, but it should be used carefully in workbooks with different entry requirements.
To remove validation, select the relevant cells, open the Data Validation dialog, and choose Clear All. This removes the validation settings for the selected cells; it does not clear the cell contents. Because removing a rule can allow future entries that were previously blocked, make a copy of the workbook or confirm the intended range before clearing it. If the sheet is protected, the owner may need to unprotect it before editing validation settings.
In Excel for Mac, the Data Validation feature is also on the Data tab, though dialog layout and some labels can vary by release. Excel for the web supports many common validation tasks, but advanced editing options and interface details may differ from the Windows desktop app. If a rule cannot be inspected or edited in the version being used, open the workbook in Excel for Microsoft 365 on Windows and check the desktop dialog.
Preventing future validation failures
Useful validation is clear, maintainable, and suited to the data. A rule that rejects every unexpected value may protect a controlled form but frustrate people when requirements change. Explain acceptable input with an input message, use dropdowns for a manageable set of standard choices, and keep list sources in a location that workbook editors can update. Choose an error alert that communicates what went wrong and what to do next.
Before sharing a workbook, test the rule with at least one valid and one invalid value. Also test blank entries if blanks matter: the Ignore blank setting affects how blank cells are treated by many validation rules, but it does not make a required field truly mandatory in every workflow. Check for existing invalid values after importing or pasting, and consider protecting formulas or structure separately from validation. Validation helps guide entry; it does not replace review, permissions, or a reliable data-cleaning process.
Frequently Asked Questions
How do I stop Excel from rejecting a valid value?
Open Data > Data Validation for the affected cell and inspect the rule, its boundaries, and any list source. Check for hidden spaces, text stored as a number, date interpretation, and whether the cell has a different rule from neighboring cells. Change the rule only if its restriction is no longer appropriate.
Can copy and paste bypass Excel data validation?
Yes. Pasting or importing can put values into validated cells without showing the usual typed-entry alert. A rule may remain in place even when a pasted value violates it, so use Circle Invalid Data or a separate review to check existing contents.
Why is the dropdown arrow missing?
The cell may still have a list validation rule, but its In-cell dropdown option may be turned off. Open Data > Data Validation and inspect the Settings tab. Also check whether the cell is selected and whether worksheet protection or the current Excel interface is affecting what you can edit.
Does Data Validation make a spreadsheet secure?
No. It is an input aid, not a security boundary. It can prevent many accidental entries during normal typing, but it should not be relied on to stop deliberate changes or every invalid paste. Protect sensitive workbook structure and validate critical data through additional controls.
How can I find invalid values already in a worksheet?
Select the applicable cells and choose Data > Data Validation > Circle Invalid Data in desktop Excel. Review each marked cell against the current rule, correct it, and then clear the circles. If the command is unavailable, check the version of Excel and whether the worksheet is protected.
Related
- Microsoft Excel CSV Import: Steps, Settings, and Fixes
- Microsoft Excel Insert Page Break: A Practical Guide
- Microsoft Excel Heat Maps: How to Create and Read Them
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- How to Create a Mail Signature in Outlook on Any DeviceTo create a mail signature in Outlook, open the signature settings for the account you use, create and…
- Microsoft Word: Remove a Next Page Section BreakTo remove a Next Page section break in Microsoft Word for Microsoft 365 on Windows, select the break…
- Sort by Due Date in Google Sheets: Step-by-StepTo sort tasks by due date in Google Sheets, select the entire task table, open Data > Sort…
- Google Sheets DATEDIF Formula: Syntax and ExamplesIn Google Sheets, use DATEDIF(start_date, end_date, unit) to calculate the time between two dates in days, complete months,…
- Remove a Section Break in Word Without Wrecking LayoutTo remove a section break in Microsoft Word for Microsoft 365 on Windows, choose Home > ¶ to…
- Word Labels: Create 10 Per Page and Print a Label SheetTo make ten labels on one page in Microsoft Word, open Mailings > Labels, choose Options, select the…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.