Last updated on November 11th, 2026 at 07:10 pm
Seeing “This value doesn’t match the data validation restrictions defined for this cell”? In Excel for Microsoft 365 on Windows, select the cells, go to Data > Data Validation, choose Clear All and then OK. Anything already typed stays put. Clear All takes the drop-down list away too, so loosen the rule instead if you only need one exception or want to keep the list. Mac and web notes follow.
Remove it, loosen it or get one value past it
A data validation rule is the setting behind that error: it limits what a cell accepts, such as whole numbers between 1 and 100 or only items from a list. Before you clear anything, decide what you actually need, because the right fix depends on whether the rule is still useful to someone.
| Your situation | Best move | What happens |
|---|---|---|
| The rule is obsolete or came with a template you no longer use | Clear All | Rule, drop-down arrow, input message and error alert are gone; values stay |
| The list is missing a valid choice | Edit the list source | The drop-down keeps working with the new item |
| The number or date range is too tight | Edit the Settings tab limits | The rule stays, with wider limits |
| People need to enter exceptions now and then | Change the Error Alert style to Warning or Information | Excel warns but lets the entry through |
| You want the tip text but no restriction | Set Allow to Any value | The input message can still show; any entry is accepted |
Worked example: Jordan inherits a budget sheet where the Department column only accepts Sales, Ops and Finance. A new department, Legal, keeps getting rejected. Clearing the rule would let typos like “Leagl” in too, so the better fix is adding Legal to the list. Changing the items in a drop-down covers that edit, and setting up data validation explains the Settings, Input Message and Error Alert tabs if you want to rebuild a rule properly.
Example: The Error You Get From a List Rule
In Excel for Microsoft 365 on a Windows 11 laptop, column H of my sample sheet had a Yes/No list rule. Typing Maybe in H3 and pressing Enter brought up a Microsoft Excel box: This value doesn’t match the data validation restrictions defined for this cell.

The box offered only Retry and Cancel. Cancel put the cell back to empty. To allow other entries you have to change or clear the rule itself, as described below.
Clear the rule from the cells you pick
These steps follow Microsoft’s remove data validation instructions.
- Select the cell or range with the rule. Hold Ctrl and click to add cells that are not next to each other.
- Go to the Data tab and select Data Validation in the Data Tools group.
- If Excel says the selection contains more than one type of validation and asks whether to erase the current settings, select Yes. That prompt means your selection mixes cells with different rules, or cells with and without one.
- On the Settings tab, select Clear All.
- Select OK.
Expect the drop-down arrow to vanish when you click one of those cells, and the yellow input message (if there was one) to stop appearing. The cell contents, number formats and formulas are not touched.
Another route is to copy an empty cell that has no rule, select the target cells, and use Home > Paste > Paste Special, choose Validation and select OK. This copies “no rule” onto the range and leaves values alone, which is handy when you are working on several scattered ranges in a row.
A plain paste is not a reliable way to clear rules: a regular paste can bring along whatever rule the copied cell carries, so you may end up swapping one rule for another instead of removing it. Microsoft’s notes on how data validation behaves also point out that validation messages do not appear when data is copied or filled, so a paste can slip values past a rule without any warning.
Windows, Mac and Excel for the web differences
Microsoft lists the same Data Validation and Clear All steps for Excel for Microsoft 365 on Windows, Mac and the web. The differences are around the edges:
| Task | Windows | Mac | Excel for the web |
|---|---|---|---|
| Clear All on selected cells | Yes | Yes (Data tab) | Yes (Data tab) |
| Select every validated cell | Ctrl + G, Special or Find & Select | Find & Select or Go To (Special), if shown | Select ranges by hand if Go To Special is not offered |
| Circle Invalid Data | Yes | Check the Data Validation menu arrow | May not be available |
| VBA Validation.Delete | Yes | Yes | No |
| Unprotect Sheet | Review tab | Review tab | Review tab |
On a Mac, use Command where Windows uses Ctrl for selecting cells. If a command is missing in the browser, open the workbook in the desktop app from the editing menu and finish there.
Track down rules you cannot see
Validation does not show on a cell unless it has a drop-down arrow or an input message, so an old rule can hide anywhere. Excel can select every validated cell for you.
- Click one cell on the sheet.
- Press Ctrl + G (or F5) and select Special.
- Choose Data validation, then All to select every cell with a rule, or Same to select only cells whose rule matches the cell you clicked in step 1.
- Select OK. The matching cells are now selected.
- Open Data > Data Validation and use Clear All as above.
Home > Find & Select > Data Validation does the same as the All option in one click. Microsoft’s drop-down list removal page recommends the Go To Special route when you cannot find a list.
To strip every rule from a sheet, click the Select All button at the top left corner of the grid (or press Ctrl + A, twice if the cursor is inside a block of data), then run Clear All and accept the mixed-validation prompt. Each sheet has its own rules, so repeat this on every sheet that needs it.
For dozens of sheets, a macro can do the job in the desktop app: the VBA Validation.Delete method removes the rules from a range, for example ActiveSheet.Cells.Validation.Delete in the Immediate window. Save a copy of the workbook first, because a macro run cannot be undone with Ctrl + Z. Macros do not run in Excel for the web.
When a protected sheet blocks Clear All
If Data Validation is greyed out, the most common reason is that the sheet is protected. Microsoft’s worksheet protection page describes how to turn it off:
- Go to Review and select Unprotect Sheet (or use File > Info > Protect > Unprotect Sheet).
- Type the password if Excel asks for one.
- Clear the validation, then protect the sheet again if other people still use it.
If there is a password and you do not have it, ask the person who built the workbook. Microsoft states it cannot retrieve a forgotten password, and password-removal tools are not a safe or appropriate shortcut on someone else’s file. Forms are often protected on purpose so only the input cells can change; building a fillable form in Excel shows that setup, and locking cells and protecting a sheet explains which cells stay editable.
Other things can grey out the button:
- You are still editing a cell. Press Enter or Esc first.
- Several sheets are grouped. The title bar shows Group; right-click a sheet tab and choose Ungroup Sheets.
- The file opened in Protected View or read-only. Select Enable Editing in the yellow bar.
- It is an old shared workbook. The legacy sharing feature limits some commands; the owner may need to turn it off.
What is left behind after clearing
Clear All removes the rule, not the history. A few things can still surprise you:
- Entries that broke the rule stay. Pasted or imported values that never met the rule are not fixed or flagged. Before clearing, use Data > the arrow next to Data Validation > Circle Invalid Data to see them, as Microsoft’s invalid data circles page describes, and Clear Validation Circles in the same menu to hide the circles.
- The source list is still on the sheet. A drop-down usually reads its items from a range or a named range. Clearing the rule does not delete that range. If no other rule uses it, you can delete it or the name in Formulas > Name Manager.
- Dependent lists can break. If a second drop-down depends on the first, clearing only the first lets people type values that match no list, and the second drop-down then shows nothing or an error. Clear both, or rebuild them as described in creating a dependent drop-down list.
- Some arrows are not validation at all. Arrows in header cells are filter buttons (turn them off with Data > Filter). A box that floats over the grid is a form control or ActiveX combo box: on the Developer tab, turn on Design Mode for ActiveX, select the control and press Delete.
- Conditional formatting is separate. Color rules stay until you remove them with Home > Conditional Formatting > Clear Rules.
Check the result and undo it
- Click a cell that used to have the rule. There should be no drop-down arrow or input message.
- Type a value that the rule used to reject. Excel should accept it with no alert.
- If you cleared the wrong range, press Ctrl + Z straight away to bring the rule back.
For a workbook that other people depend on, save a copy under a new name before removing rules from whole sheets. If you need the rule again later, that copy is the fastest way to see exactly how it was set up.
What readers ask after the rule is gone
Will the drop-down choices people already picked disappear?
No. Each cell keeps the text that was chosen. Only the arrow and the restriction go. The cells are now ordinary cells, so anyone can type over them.
Why did Clear All change cells I did not select?
The Settings tab has an option to apply changes to all other cells with the same settings. If it is ticked when you select Clear All, Excel clears the rule everywhere it is used on that sheet. Untick it to limit the change to your selection.
Can I keep the drop-down and still allow other entries?
Yes. On the Error Alert tab, change Style from Stop to Warning or Information. The list still appears, but typed values outside it are allowed after a prompt. Clearing the Show error alert after invalid data is entered box lets them in with no prompt at all.
How do I stop people from adding validation back?
Protect the sheet once the rules are the way you want. The Data Validation command is not available on a protected sheet, so nobody without the password can add or change rules. To start a fresh list later, create a new drop-down list on an unprotected sheet.
Once the test value goes in without an alert, the restriction is gone. If the sheet feeds a report or a form, tell the people who use it, because their entries are no longer being checked.

Matt Jacobs writes and maintains the guides on Support Your Tech, which he started in 2017. He spent most of his career keeping small-business PCs running and still takes the occasional consulting job, so the steps here come from fixing the same problems on other people’s computers. Every guide is checked on his own Windows 11, Windows 10, Mac, iPhone and iPad before it goes up.