SOLVED

Help with conditional formatting

Copper Contributor

Hi

 

I have set up conditional formatting in one cell but I need to copy this over to all cells in that column.  Is there an easy way to do this rather than having to redo the rule in each cell?

 

Thanks for your help in advance.

Mrs-M

8 Replies

Hello @MRS-M,

 

 Select the cell that currently has the conditional formatting on it. In the "Home" tab, click conditional formatting and then manage rules. Under the section that says "Applies to" select all of the cells that you would like your conditional formatting to apply to.

 

Hope this helps!

PReagan

Alternately, you can select the cell with conditional formatting and double click the "Format Painter" then select any other cell that you would like to apply the conditional format to.

Hi @PReagan 

 

Thanks for the response but that didn't work.  It seems to copy over just what is in that particular cell rather than the formula.  I just want to be able to get excel to look at the value in the cell and see if it is less than the value in another cell and if so to turn the cells fill red.  But I then need it for the rest of the columns. For example Column A1 has a number 3 in and I want to be able to turn this cell red if the number is 2 in Column B1 (less than Column A1).  Then apply this to the rest of Column A.  I hope that makes sense.

best response confirmed by MRS-M (Copper Contributor)
Solution

For cell A1, go to Conditional Formatting, new rule, format only cells that contain, Format only cells with: Cell Value, less than, =B1, and apply your format. Use the format painter to copy this format down through all of your cells in Column A.

For cell B1, go to Conditional Formatting, new rule, format only cells that contain, Format only cells with: Cell Value, less than, =A1, and apply your format. Use the format painter to copy this format down through all of your cells in Column B.

Thank you @PReagan, that worked a treat! 

@MRS-M 

Select the top-left cell of the range.  The use Conditional Formatting  / Manage Rules and check that the range to which the formatting is applied is correct and, if necessary, edit the rule.  In particular check that the cell references have the correct combination of absolute ($) and relative references.

@PReagan - can you elaborate on this string with this other person.  I need the conditional formatting you provided Less than but ALSO Greater than?  how do I include both?

 

I am trying to show a tolerance - if great than 25% variance of # red, or if less than 25% variance of # a green indicator?

 

thoughts?

@JJS007 

To apply multiple conditional formats, go into the 'Conditional Formatting Names Manager' and insert a 'New Rule...'.  The obvious choices are 'Format all cells based upon their values' followed by 'Icon set', or 'Format only cells that contain'.  The thresholds may reference worksheet cells and, in the case of icons, you can conceal the values if you so choose.

 

If you only require formats above or below a single threshold value, do not forget that you can apply an ordinary cell formatting as default to the cells that have not triggered the conditional format.

1 best response

Accepted Solutions
best response confirmed by MRS-M (Copper Contributor)
Solution

For cell A1, go to Conditional Formatting, new rule, format only cells that contain, Format only cells with: Cell Value, less than, =B1, and apply your format. Use the format painter to copy this format down through all of your cells in Column A.

For cell B1, go to Conditional Formatting, new rule, format only cells that contain, Format only cells with: Cell Value, less than, =A1, and apply your format. Use the format painter to copy this format down through all of your cells in Column B.

View solution in original post