How to use Repeat Conditional Formatting function

jray9242

Board Regular
Joined
May 7, 2011
Messages
61
I have a want to able to do the following. I want to have 2 Conditional Formats in the "O" column.

The first one will look like this:

N2 <= O2 then GREEN
O2 > N2 then RED

Then I need to copy the format to row 18.

I have google this but can't seem to find the answer. Please help me with this.

Thank you

Jim


<title>Excel Jeanie HTML</title>
Excel Workbook
NO
1JulActual
2214.00214.00
314.950.00
40.000.00
5254.000.00
6120.00131.97
7150.000.00
819.950.00
Yearly
 
Last edited by a moderator:

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
You can copy formatting by using the "Format Painter" icon.
Select the cell whose format you want to copy.
Click Format Painter, (Paint brush icon) in the Home Ribbon.
Now click the cell you want to Format the same.
The format, (including Conditional Formatting), will be transferred to new cell.

To paste formatting to multiple cells, drag the cell range desired.
 
Upvote 0
Hi,
Try this 2 formula (in conditional formating):
$N2 <= $O2 ---> GREEN
$O2 > $N2 ---> RED

First select the range N2:O18
 
Last edited:
Upvote 0
Hi,

Maybe i'm missing something but these rules overlap
N2 <= O2 then GREEN
O2 > N2 then RED

What do you want, for example, N2=1 and O2 =2? Green or Red? Both conditions are True...

Is this a typo? Maybe
N2 <= O2
N2 > O2

M.
 
Upvote 0
Actually Inglof has it correct.

N2 = 214.00
O2 = 214.00
So if O2 is less than or equal to N2, then GREEN
$N2 <= $O2 ---> GREEN

N2 - 214.00
O2 = 235.00
So if O2 is greater than N2, then RED
$O2 > $N2 ---> RED

Maybe my math is wrong

Or should it be like this.

O2 <= N2 = Green
O2 > N2 = RED
 
Upvote 0
Hi,

So if O2 is less than or equal to N2, then GREEN
$N2 <= $O2 ---> GREEN

Well... i think that
$N2 <= $O2 ---> GREEN
means if O2 greater or equal than N2 ---> GREEN

If you ned O2 less than or equal N2
N2 >= O2

M.
 
Upvote 0
Here is what I did and applying what has already been posted I got it to work.

$O2 <= $N2 = Green
$O2 > $N2 = Red

Thanks all!
 
Upvote 0

Forum statistics

Threads
1,224,613
Messages
6,179,904
Members
452,948
Latest member
Dupuhini

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top