How to Undo Conditional Formatting in Excel

How-to basics · Updated November 22, 2026

Conditional formatting in Excel applies rules that change a cell’s appearance based on its value. If you’ve added rules and now want to remove them—either all at once or just specific ones—this guide shows you the quickest methods. You can clear rules from selected cells, an entire worksheet, or a table, and you can also delete individual rules without affecting others. No special tools are needed; everything is built into Excel’s ribbon.

What You’ll Need

  • A workbook containing conditional formatting rules you want to remove.
  • Microsoft Excel 365, Excel 2021, 2019, or 2016 on Windows (steps for Mac and Excel for the web are noted where they differ).

Step-by-Step

Method 1: Clear Rules from Selected Cells

  1. Select the cell range from which you want to remove conditional formatting. For example, click and drag to select A1:C10.
  2. Go to the Home tab on the ribbon.
  3. In the Styles group, click Conditional Formatting.
  4. Hover over Clear Rules and choose Clear Rules from Selected Cells. This removes all conditional formatting rules applied to that selection only. On a Mac, the path is the same: Home tab > Conditional Formatting > Clear Rules > Clear Rules from Selected Cells.

Method 2: Clear Rules from the Entire Worksheet

  1. Click any single cell on the worksheet (no need to select the whole sheet).
  2. Go to Home > Conditional Formatting > Clear Rules > Clear Rules from Entire Sheet. This removes every conditional formatting rule from all cells in the current worksheet. On Excel for the web, the menu is identical.

Method 3: Clear Rules from a Table or PivotTable

  1. Click any cell inside the table or PivotTable.
  2. Go to Home > Conditional Formatting > Clear Rules > Clear Rules from This Table (or Clear Rules from This PivotTable). This removes only the rules applied to that specific table or PivotTable, leaving other cells untouched.

Method 4: Delete a Single Rule (Not All)

  1. Select the range where the rule is applied (or any cell in that range).
  2. Go to Home > Conditional Formatting > Manage Rules. The Conditional Formatting Rules Manager dialog opens.
  3. In the Show formatting rules for dropdown, choose Current Selection or This Worksheet to see the rules.
  4. Select the rule you want to remove from the list.
  5. Click the Delete Rule button (the red X). Then click OK to close the dialog. On a Mac, the dialog works the same way.

Method 5: Undo with Ctrl+Z

  1. If you just applied a conditional formatting rule and want to revert it immediately, press Ctrl+Z (Windows) or Cmd+Z (Mac). This undoes the last action, including formatting changes. This only works if you haven’t performed other actions since.

Common Mistakes

  • Clearing the entire sheet when you only meant a small range. Always double-check your selection before using “Clear Rules from Entire Sheet.”
  • Using Delete key instead of Clear Rules. Pressing Delete only removes cell values, not conditional formatting. You must use the Clear Rules commands.
  • Forgetting about table rules. If you clear rules from selected cells but the formatting persists, the rule might be attached to a table, not the cells. Use “Clear Rules from This Table” instead.
  • Assuming Ctrl+Z works after saving. Undo history is cleared after you save and close the workbook. If you reopen and try Ctrl+Z, it won’t undo the formatting.

Tips

  • Use Manage Rules to see all rules at once. The Rules Manager shows every rule in the workbook and lets you delete, edit, or reorder them in one place.
  • To remove formatting but keep the values, always use the Clear Rules commands—never clear cell contents.
  • If you frequently need to clear rules, add the “Clear Rules” button to your Quick Access Toolbar. Right-click the Conditional Formatting button > Customize Quick Access Toolbar, then add the Clear Rules commands.
  • For a quick visual check, after clearing, select the range and look at the Home tab—if the Conditional Formatting button shows no active rule, the formatting is gone.

Troubleshooting

Conditional formatting still appears after clearing. This can happen if the rule is defined on a different worksheet or in a table that overlaps the selection. Go to Manage Rules and check the “Show formatting rules for” dropdown to see all rules in the workbook. Also, ensure you haven’t applied formatting directly via cell styles or manual fill—those are not conditional formatting.

Clear Rules is grayed out. This occurs if the worksheet is protected. Unprotect the sheet first: Review tab > Unprotect Sheet. If the workbook is shared, you may need to turn off sharing.

You cleared rules but the formatting persists after reopening the file. The file might have been saved with an older version that uses a different rule type, or the rule is stored in a table style. Try clearing rules from the table as described in Method 3.

Can’t find the Manage Rules option. In Excel for the web, the Manage Rules dialog is available under Home > Conditional Formatting > Manage Rules. If you don’t see it, ensure you’re using the full web version, not a mobile browser.

Frequently Asked Questions

Q: Can I undo conditional formatting with Ctrl+Z after I’ve saved the file?
A: No. Undo history is cleared when you close the workbook. If you’ve saved and reopened, you must use the Clear Rules commands.

Q: Does clearing rules remove the cell values?
A: No. Clearing conditional formatting only removes the formatting rules. Cell values and other formatting (like font or fill applied manually) remain intact.

Q: How do I remove conditional formatting from an entire workbook, not just one sheet?
A: You need to do it per sheet. Go to each worksheet and use Clear Rules from Entire Sheet. There is no single command to clear all sheets at once.

Q: What if I only want to remove one rule but keep the others?
A: Use Manage Rules, select the specific rule, and click Delete Rule. This removes only that rule.

Q: Can I undo a Clear Rules action?
A: Yes, if you haven’t performed any other actions after clearing, press Ctrl+Z (Cmd+Z on Mac) to restore the rules. If you’ve done other things, you may need to reapply the rules manually.

Q: Why does conditional formatting come back when I copy and paste cells?
A: When you copy a range with conditional formatting, the rules are copied along with the cell content. To paste only values, use Paste Special > Values (Ctrl+Alt+V, then V).

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.