excel - Formula will not work in Conditional Formatting -


i have 3 page work book. pages 2 , 3 hold similar data different time periods (cases current, cases historic). takes information cases current , collates information using countif.

i have been trying conditional format change text colour if countif cases current higher or lower countif on same data in historic page. e.g.:

cell c3 has following formula : '=countifs('cases '!$d:$d,c$2,'cases '!$c:$c,$a3) , displays figure 7.

i have used if formula in regular cell , following work. (in example countif returns 10.)

if(c3<countifs(compare!$d:$d,c2,compare!$c:$c,$a3),"lower","higher")

i have used same formula in conditional formatting triggers no change in font colour. have stripped 2 end conditions off end of if statement conditional formatting triggered on true return.

=if(c3<countifs(compare!$d:$d,c2,compare!$c:$c,$a3) 

this formula incorrect you're attempting:

=if(c3<countifs(compare!$d:$d,c2,compare!$c:$c,$a3) 

it incomplete if statement - try copy cell, , see don't have argument if's "true" state (which required). instead, don't need if statement @ all, just:

=c3<countifs(compare!$d:$d,c2,compare!$c:$c,$a3) 

so check value of cell c3, check value of countifs function, , check c3 < countifs. if is, it's true statement, resulting in true. otherwise, returns false.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -