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
 
If you want a new Conditional Format use:

=$C22=0

and position it first in the list. To use the existing Conditional Formats and have no formatting if C22=0 amend the formulas to:

=$C22*($C22>$B22)
=$C22*($C22=$B22)
=$C22*($C22<$B22)
 
Upvote 0

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Column B22 is in yellow because because i put the formula =$C22<$B22 so anything less than the number highlights in yellow but i need a formula that if C22 is 0 B22:C22 hightlight in white.

sorry
 
Upvote 0

Forum statistics

Threads
1,215,514
Messages
6,125,271
Members
449,219
Latest member
daynle

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