How to delete conditional formatting from a "dragged" cell - excel

I have a cell with conditional formatting.
I drag that cell to the one on its right. As a result, the value gets copied and the conditional formatting too.
Then I remove the conditional formatting from that second cell, but as a result, the conditional formatting of my first cell gets deleted too.
How can I delete the conditional formatting of a dragged cell without deleting the conditional formatting of the original cell?
Is this a bug?

You can do it in two ways.
Copy data and paste as values.
If you drag cells then value and formats will be copied. After dragging select cells you want to remove format. Then From Home tab Editing section clear formats only. See the below screenshot for better understanding.

Related

conditional formatting is not retained

I have a conditional formatting rule in place that says "If cell Q4 is blank, format the cells so that all cell's fill, borders, shading, etc. are also blank, so that it appears as if there is no content present, and is formatted accordingly. This cleans up the look of the report if content has not been added yet. When Q4 is not blank, the conditional formatting rule is not applied, and there is some significant formatting I have done on that range of cells. See the attached picture for what I hope to be a better explanation of the intended function. All of the cell formatting is not applied (appears as a blank sheet) if the highlighted cell (Q4) is empty.
My issue is, when I scroll down so that the cells that are affected by the conditional formatting are no longer in view, and then scroll back so that they are in view, the conditional formatting keeping the cells with no border, shading, fill, etc. is not retained for some, but not all, of the cells in the desired range. What is even more strange is if I click out of excel (into a browser window for example) and then back into excel, one additional cell no longer has the conditional formatting applied that keeps it blank. If I go into the cell that controls the visibility of the affected cells (Q4) which is already empty, and press delete, the conditional formatting gets applied until I scroll out of view and the process repeats itself. Any suggestions on correcting this excel bug? The data is not formatted as a table, so unchecking banded rows is not applicable, and I have made sure that EnableFormatConditionsCalculation is set to TRUE in the VBA, where were the two solutions that I found online to fix this same issue.
Correctly functioning conditional formatting shown, where because Q4 is not empty, the cell formatting is visible (conditional formatting to make the range of cells appear blank is not applied)
There is some subtle cause for this. Might Q4 have an invisible space character? If it does, you can change the conditional formatting rule to =LEN($Q$4)=0. Also, did you 'anchor' cell $Q$4 within your formatting formula? Did you intend for the blank cell condition to follow your data per row- Q4....Q5...Q6? If so, Q4 should be relative. You do not show your actual conditional formatting formula. It will help greatly to include your formula itself.

Conditional Formatting Rule Not Working on One Cell

I have a perplexing problem with one of my Excel spreadsheets. I have a "task list" spreadsheet, with conditional formatting to highlight items that are near their due date and overdue. One cell in my entire worksheet is not allowing the conditional formatting, and I am not sure why. It does not matter what is in the cell.
I have tried:
deleting the table row
deleting the entire row
re-typing the cell
re-sorting the cells
deleting and re-creating the rule
verifying that the rule is applied to that cell
Any ideas as to what is causing this?
The affected cell is D5. You can download the spreadsheet here: Google Drive download link
Since that's cell D5, instead of ROW()>5 you should use ROW()>=5.
Also "before today" would be <TODAY() . The +1 makes it "before tomorrow".
It's kind of unusual to have a row number in there at all. I assume you did that so you could apply the format to the whole column but if the extra cells are not dates (like, are just titles) then they shouldn't be affected by the conditional formatting.
If it was me, I would clear all the formatting from that column and in D5 add the simple conditional formatting criteria =D5<TODAY(), then copy that cell, click heading D to select the entire column, Ctrl+Alt+V and Paste Formats.
Better yet, only apply the Conditional Formatting to the cells that need it, not the whole column. Conditional Formatting increases the file size and slow down calculation more that one would think. (I was argued that but was proven wrong!)

How to get Formula Behind Conditional Formatting in Excel

How can I get formula applied behind conditional Formatting for highlighting Cells?
Conditional Formatting is applied based on text in each cell of Test Result column(third column).
Formulas List:
Purpose is to reuse (copy paste) the formula in other sheets.
The formula is shown in your first screenshot. The dialog has the formula in the column "Rule applied (in order shown)". These rules use the out of the box settings to format cells based on their values, so the "formula" is not accessible for editing.
But the format can be copied to other cells very easily.
Here are the steps:
Select the cell with the conditional format and copy it
click the cell where you want to apply the same format
use Paste Special > Format to paste just the format to the selected cell
Edit: If you don't use the built-in conditional formats but instead select "Use a formula to determine ...", you can construct the formulas manually.
There is no automated way to convert the existing out-of-the-box rules to fomulas. You will need to use your human understanding of the logic and appy this to formulas. So, for example, if the selected cell is H3, you can us this formula
=H3="Fail"
and format the cell with red font and light red background. Note that there are no $ signs in the reference to the cell H3. If you copy that format to another cell, it will apply to that other current cell.

Is there a way to apply conditional formatting to each individual cell in excel?

Is there a way we can apply conditional formatting to individual cells within excel to ensure that if it contains data, it will be formatted?
For example, if data is added to any cell, that cell alone will be highlighted in yellow.
you can use conditional formatting with "No Blanks"
it will give you desired result

Replicate cell in excel

Does anyone know if there is a way to replicate a cell exactly in excel, so that it has both the same value and same format? So that if the format of the 'parent' cell changes (through conditional formatting) then the replicated cell also changes format.
Thanks in advance
Let's assume the original cell is A1.
The simplest way would be to set the new cell =a1. To copy the conditional formatting, Select the original cell, a1, and select the Format Painter (on the clipboard sub-menu; looks like a paintbrush on a diagonal). (The icon will change to a paintbrush.) Then click on the new cell.
I tried this out for several types of Conditional Formatting, and it works well for the Conditional Formatting -> Highlight Cell Rules (Say, Greater than nn).
It also works well for ranges like Top/Bottom Rules or Color Scales, but you will need to copy the entire range (it won't work if you're copying a single cell because the range doesn't make sense).

Resources