Conditional Formatting Help

MrTrent

Board Regular
Joined
Apr 10, 2015
Messages
54
Hi,

Lets say I have 2 Cells...

Cell A1 & B1

In A1 it has a "1" in it. In B1 it has a "0" in it... How do I possibly make it so if B1 gets a "1" in it, Both Cells work together and Highlights the Numbers, or do some for of Conditional Formatting?

I thought doing something like =(A1:B1)>0 would do the trick, but no..
I have tried other things too...

With saying it equalling to 1, what I am actually is, if both of them are above Zero it will Conditional Format.. So it could be A1 "1" B1 "20" and it will still be Red. As soon as either one goes to Zero, it goes back to normal color etc.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Ah, sorry. It must be:
Code:
=AND($A1>0,$B1>0)
If you first select your range (A1:B236) and then enter your conditional formatting with this formula, it should be OK.
 
Upvote 0
I used Absolute referencing and relative referencing and both worked for me.
Double check the cells the rule is applied to...
 
Upvote 0
Ah, sorry. It must be:
Code:
=AND($A1>0,$B1>0)
If you first select your range (A1:B236) and then enter your conditional formatting with this formula, it should be OK.


This one worked perfectly... Thank you... Has saved me a lot of time...
 
Upvote 0

Forum statistics

Threads
1,203,515
Messages
6,055,845
Members
444,828
Latest member
StaffordStag

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