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.
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: