FormulaSurge
All articles

excel-errors

Value Doesn't Match Data Validation Restrictions

Fix "This value doesn't match the data validation restrictions" in Excel and "Input must fall within specified range" in Google Sheets.

  • data validation
  • excel errors
  • google sheets
  • input must fall within specified range
3 min readBy
Value Doesn't Match Data Validation Restrictions

In current Excel the message reads "This value doesn't match the data validation restrictions defined for this cell." Older versions say "The value you entered is not valid." Google Sheets shows "Input must fall within specified range" or a red warning triangle. All three mean the same thing: the cell has a rule, and the value breaks it.

The usual causes

  • Numbers stored as text. "100" pasted from a system is text, so a whole-number rule rejects it. Convert with VALUE or Text to Columns.
  • Hidden spaces. "Open " is not "Open". Clean the source list and the entry with TRIM.
  • Dates typed as text. A date rule needs a real date. Check with =ISNUMBER(A2); convert with DATEVALUE.
  • Decimals under a whole-number rule. 12.5 fails "Whole number". Switch the rule to "Decimal" if decimals are valid.
  • The list range is too short. A new item was added below the range the rule points at. Use an Excel Table or a spill reference so the list grows.

Why validation sometimes seems not to work

Data validation only checks values as they are typed. Pasting overwrites the rule together with the value, and values already in the sheet are never re-checked. Run Data > Data Validation > Circle Invalid Data to find every breach, and use Paste Special > Values to paste without destroying the rule.

If the drop-down itself won't save

If Excel refuses the rule when you press OK, see "The list source must be a delimited list". For building rules that hold up, read Data validation: stop bad data at the door.

Still stuck?

Send one problem cell to the free Formula Clinic, or ask for a free written quote on a quick fix (Excel error fixing). All error guides are in the Excel error library.

FS

Written by

Independent Excel practice · 10+ years of hands-on Excel work

Excel specialists in Power Query, Power Pivot, VBA and financial modeling. The patterns on this page are the same patterns we build with - fixed scope, fixed price, named owner. About FormulaSurge. Stuck on a formula? Get a free fix.

Free tool · 30 sec · runs in your browser

Data Quality Checker

Paste rows from Excel and find duplicates, extra spaces, mixed date formats and text in number columns, with cell addresses.

Open the tool

Related service

Need this built for your team?

See Google Sheets Automation - fixed price in writing, built end-to-end. Not sure of the scope? A Scoping Sprint ($99 / ₹4,999) gives you an exact quote first.

Read more

Start here · Scoping Sprint

Know the exact price in 2 working days. $99, credited in full to your build.

Builds from $75, fixed in writing · Working draft in 5 days or your first payment back · Mutual NDA first if you want one

10+ years in ExcelNamed senior ownerFixed price, in writingDraft in 5 days or refundMutual NDA on request30-day warranty

Frequently asked

Questions readers ask most.

What does "This value doesn't match the data validation restrictions defined for this cell" mean?

The cell has a data validation rule (for example a list, a whole-number range or a date range) and the value you entered breaks it. Older Excel versions word it as "The value you entered is not valid. A user has restricted values that can be entered into this cell."

What does "Input must fall within specified range" mean in Google Sheets?

It is Google Sheets' version of the same check: the cell's data validation rule allows only certain values, and the entry falls outside them. Open Data > Data validation to see the rule; set it to 'Show a warning' instead of 'Reject the input' if you want to allow exceptions.

Why is my data validation not working in Excel?

Usually because values were pasted in. Pasting replaces the cell's validation along with its contents, and existing values are never re-checked automatically. Use Circle Invalid Data to find breaks, and Paste Special > Values to paste without losing the rule. Also check that the rule covers the whole range and that 'Ignore blank' is set the way you expect.

How do I change or remove a data validation rule?

Select the cells, open Data > Data Validation, and edit the Settings tab - or click Clear All to remove the rule. Tick 'Apply these changes to all other cells with the same settings' to update every cell that shares the rule.

Start with a Scoping Sprint

Want this built for your team?

Send your requirements, a sample workbook or a screenshot. We reply within one working day, and the Scoping Sprint ($99 / ₹4,999) gives you the exact price in 2 working days, credited in full to the build.

  • Written scope and fixed price before any build work starts
  • Working draft in 5 working days or your first payment back
  • Recorded walkthrough and 30-day warranty at handover
  • Mutual NDA on request
Replies within one working day, usually the same day

Calls 9am–7pm IST, Mon–Sat · How a project works

Built for teams in

Industries and cities this work is set up for

How we work

Six rules every FormulaSurge project runs on.

Not slogans. Operating rules - the same six on every dashboard, audit, macro and model.

Excel workbook with a sales table and a rising chart15% OFF

Welcome offer

15% off your first project

15% off the build fee of your first project. Mention it when you book; the Scoping Sprint is still credited in full.

Start with the $99 Scoping Sprint: a fixed price for your build in 2 working days.

Not ready yet? · Free

Free 10-minute Excel audit

Seven checks on your workbook, results in writing within one working day.