Skip to main content

How to quickly remove conditional formatting in Excel?

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:

doc-remove-conditional-formatting1

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

doc-remove-conditional-formatting2 -2 doc-remove-conditional-formatting3

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 doc-multiply-calculation-3 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:

doc-remove-conditional-formatting4

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:

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:

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

doc remove formatting1

  If you want to have a free trial (30-day) of this utility, please click to download it, and then go to apply the operation according above steps.


Easily remove conditional formatting and background shading with Kutools for Excel


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

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...

Description


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!
Comments (2)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I'm so glad I found this. My issue is that I wanted to clear all but some...when adding and removing columns, the conditional formatting ranges start breaking and it gets crazy. Luckily I only needed 5 conditions. Instead of deleting about 100 to leave those 5, I used that macro up there to delete them all, and then just remade my 5 for the full range I wanted. I think using my data in a table may have limited that issue of formatting, but this was of great use to me. Thanks!
This comment was minimized by the moderator on the site
Dear Manager: I am interested in specific certifications that you may offer, through any of your open source platforms. I am preparing to enter the workforce, after a long absence due to a disability that occurred several years prior to today. Any assistance that you can lend will be greatly appreciated. Thank You, Birtis Exum
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations