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

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
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,020
Messages
6,122,712
Members
449,093
Latest member
Mnur

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