The conditions are read in order so if the first condition is
True it is used, If not the second formulas is checked, if that is not
True then the third formulas is checked.
I am not sure of your layout, but since you say it works for most cases
will assume you selected the cells you want colored and that is probably
only once cell.
Condition 1:
=COUNTIF(R16:R44,"Y")/COUNTA(R16:R44) <= .7
Condition 2
=COUNTIF(R16:R44,"Y")/COUNTA(R16:R44) <= .8
Condition 3:
=COUNTIF(R16:R44,"Y")/COUNTA(R16:R44) <= 1
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm
> This is the formula I am using:
> =COUNTIF(R16:R44,"Y")/COUNTA(R16:R44)
[quoted text clipped - 10 lines]
>
> Any suggestions?...