Is there a way to remove the conditional formatting from cells, while keeping the applied format intact?
The only way I've found is:
- Copy the cells.
- Clear formatting on the cells (
ctrl + \
) - Paste special -> Paste format only (paste over the said cells).
- Copy a cell that has no conditional formatting
- Select the cells with de conditional formatting you want to delete
- Click Edit > Paste special > Paste conditional formatting only.
Copy the required range to another sheet and paste special, values only. Then immediately paste special again, formatting only.
If you want to keep the work in the same place on the same sheet, just cut instead of copy, and then do the above paste operations to the same place.
The advantage of the first method is that by creating a copy you can't accidentally mess up your original and can always replace this when you are satisfied with the result.
Yes, to remove individual conditional formats while leaving other formatting unchanged, in Google Sheets:
- If the conditional format pane on the far right is present, close it by clicking the X in the top right of the pane.
- Highlight the range of cells (or select a single cell if you want to remove conditional format for only 1 cell) that have conditional formatting applied. For this to work, at least one of the cells you've highlighted must have conditional formatting defined.
- Right click the highlighted cells and select "Conditional Formatting" from the context menu.
- A vertical panel on the right will appear with a list of conditional format rules that are present in the highlighted range.
- Hover the cursor (do not click -- just hover) over the rule you want to delete. As you hover a trash can icon will appear.
- Click the trash can icon to remove that particular conditional format.
I know this is an old question, but I tried the approaches suggested. They don't work. The conditional formatting 'çonditions' are also copied across.
My Solution is to copy and paste into excel and then copy the values back into google sheets. When pasting into excel the 'conditions' don't get copied over.
Some Redditor saved the day!
function clearFormatting () {
var s = SpreadsheetApp.getActiveSpreadsheet();
var ss = s.getActiveSheet();
ss.clearConditionalFormatRules();
}
To add to the most-voted answer, you can actually do this on an entire sheet, in case that's helpful. (Mac keys shown here)
Command-a to Select All
Command-c to Copy
Command-\ to Clear Formatting
Command-Option-v to Paste Format Only
This is an old question, but none of the solutions above really worked for me. Copying, clearing the formatting, and pasting simply added the conditional formatting back in.
A work around I found works similarly, but by deleting the conditional formatting actions individually did it somehow. Additionally, for my situation I also created a copy of the file and renamed it to keep the original file and all the conditional formatting for future builds.
How I was able to get it to work:
FILE - MAKE A COPY
RENAME THE FILE
EDIT - COPY (ENTIRE SPREADSHEET)
FORMAT - CONDITIONAL FORMATTING
DELETE ALL RULES INDIVIDUALLY
EDIT - PASTE SPECIAL - FORMAT ONLY
In the end I was left with all the previous data and all the conditional formatting minus the conditional rules. Hope this helps someone!
Without a script is possible with a hack: copy into say Word and back again.
© 2022 - 2024 — McMap. All rights reserved.