Condtional Formatting

luis.carrion

Board Regular
Joined
Mar 26, 2010
Messages
246
Good Evening,

I need a formmating or formula that:

if Column C22 is greader than B22 highlight in RED Column B22:C22

if Column C22 is equals to B22 highlight in GREEN Column B22:C22

if Column C22 is smaller than B22 highlight in YELLOW Column B22:C22
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Select both cells and try these Conditional Formatting formulas:

=$C22>$B22
=$C22=$B22
=$C22<$B22

The $ before the column reference makes it absolute.
 
Upvote 0
Andrew Poulsom,

Thank you i was do in it wrong they work perfectly. what about if C22=0 highlight white.

Satyam263 - thank you
 
Upvote 0

Forum statistics

Threads
1,215,507
Messages
6,125,212
Members
449,214
Latest member
mr_ordinaryboy

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