Using formula function instead of conditional formatting

Copper Contributor
Can a conditional format be replaced with a if, then function containing cell formatting functions? If so, where can I get information and examples?
4 Replies

@J2-____jj , formulas in Excel work with cells values, not with cells properties like format. To work with properties you may use VBA programming, or conditional formatting, or, in some extent, custom numbers formatting.

@J2-____jj 

You can develop your formulas and then assign then to a defined Name using Name Manager.  The formula should result in TRUE or FALSE when evaluated in each of the conditionally formatted cells.  Each conditional will depend on one such formula. 

@Peter Bartholomew more exactly TRUE (or its numeric equivalent) or whatever else, even error.

@Sergei Baklan 

Agreed

TRUE can also be any non-zero number

FALSE can also be a character string, zero, an error or a blank cell

Have I missed anything?

 

The thing that causes me most grief is the inability of CF to work with a Boolean array; all it seems to see is the value of the first item.  It also fails on Range intersection but at least that can be hidden within a defined name.