Conditional Formatting - Using AND Formula

rsbrunton

New Member
Joined
Oct 10, 2011
Messages
6
Problem
When extending conditional format formula to use AND(), formatting is not applied

Example Using Excel 2007
Cell A1:
Contains formula "=INDIRECT(ADDRESS(ROW(),2))=100"
Conditional Formatting set to fill color to Green if "=INDIRECT(ADDRESS(ROW(),2))=100"
Cell B1:
Contains value of "100"
--> Result: A1 evaluates to TRUE and fill color is Green ... cool!

Cell A2:
Contains formula "=AND(INDIRECT(ADDRESS(ROW(),2))=100,TRUE)"
Conditional Formatting set to fill color to Green if "=AND(INDIRECT(ADDRESS(ROW(),2))=100,TRUE)"
Cell B2:
Contains value of "100"
--> A2 evaluates to TRUE, but fill color is not Green ... doi!

Cell A3:
Contains formula "=AND(TRUE,TRUE)"
Conditional Formatting set to fill color to Green if "=AND(TRUE,TRUE)"
--> A3 evaluates to TRUE, and fill color is Green ... cool!

What am I missing here?
Are there issues of formula complexity within Conditional Formatting?
Online documentation of other nuances anywhere?

My thanks in advance.
 
Last edited:
Glad to help, thanks for the feedback..

I wouldn't call it a bug though, more like a limitation.
 
Upvote 0
Glad to help, thanks for the feedback..

I wouldn't call it a bug though, more like a limitation.

jonmo1,

You're kind!

I don't know the formal definition of a Bug, but to me a Limitation is something that is known and documented like the inprecision of floating-point arithmetic.

Perhaps we can say this is a Limitation because it's documented in this thread on the MrExcel Forum? :biggrin:
 
Upvote 0

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