Skip to main content

How to quickly remove conditional formatting in Excel?

Author: Xiaoyang Last Modified: 2024-09-26

Conditional formatting is a very useful tool in Excel, it can easily help you to format and shade cells according to specific conditional criteria, but sometimes you may want to remove or clear conditional formatting in Excel. How do you delete conditional formatting in Excel?

Remove conditional formatting with Clear Rules function
Remove conditional formatting with VBA code
Easily remove conditional formatting and background shading with Kutools for Excel


Remove conditional formatting with Clear Rules function

Clear Rules function can help you quickly and easily remove the conditional formatting in selected range and entire worksheets.

To delete the selected range conditional formatting, please do as this:

1. Select the range that you want to remove the conditional formatting.

2. Click Home > Conditional Formatting > Clear Rules > Clear Rules from Selected Cells. See screenshot:

Clear Rules from Selected Cells option on the ribbon

3. And the selected conditional formatting has been removed. See screenshots:

Cells with conditional formatting Arrow Cells with conditional formatting removed

To delete the entire worksheet conditional formatting, please do as follows:

Click Home > Conditional Formatting > Clear Rules > Clear Rules from Entire Sheet, and the entire worksheet conditional formatting will be removed.


Remove conditional formatting with VBA code

The following VBA code also can help you to remove the conditional formatting.

1. Click Developer >Visual Basic, a new Microsoft Visual Basic for applications window will be displayed, click Insert > Module, and input the following code into the Module:

VBA: remove conditional formatting

Sub DeleteConditionalFormats()
'Update 20130912
Dim WorkRng As Range
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
WorkRng.FormatConditions.Delete
End Sub

2. Then click Run button button or press F5 key to run the code, and a prompt box will remind you to select a range that you want to use. See screenshot:

Dialog for selecting the range to remove conditional formatting

3. Then click OK button, and all conditional formatting in the selected range has been removed.


Easily remove conditional formatting and background shading with Kutools for Excel

The Kutools for Excel’s Alternate Row / Column Shading utility can help you remove both the conditional formatting and the background shading at the same time.

Before applying Kutools for Excel, please download and install it firstly.

1. Select the range with the conditional formatting or backgroud shading you want to remove, then click Kutools > Format > Alternate Row / Column Shading. See screenshot:

Alternate Row / Column Shading option on the Kutools tab on the ribbon

2. In the Alternate Row / Column Shading dialog box, just select the Remove existing alternate row shading option in the Shading method section, and then click the OK button. See screenshots:

Cells with conditional formatting

Then all condiation formatting and manual fill colors are removed immeidately.

Cells with conditional formatting removed

Kutools for Excel - Supercharge Excel with over 300 essential tools. Enjoy permanently free AI features! Get It Now


Demo: Easily remove conditional formatting and background shading with Kutools for Excel

Kutools for Excel: Over 300 handy tools at your fingertips! Enjoy permanently free AI features! Download Now!

Related article:

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more
Use Kutools in your preferred language – supports English, Spanish, German, French, Chinese, and 40+ others!

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!