countif with non-continous ranges
It's funny I get the same results no matter what formula I use the one you
sent and mine, I just look at mine and it doesn't appear logical...
Peo Sjoblom wrote:
One way
=SUMPRODUCT(COUNTIF(INDIRECT({"U5:U10","U12:U17"} ),3.028))/COUNTA(U5:U10,U12:U17)
or
=SUMPRODUCT(COUNTIF(INDIRECT({"U5:U10","U12:U17"} ),3.028))/COUNT(U5:U10,U12:U17)
since COUNT count numbers only while COUNTA count numbers and text
Hi all, I'm reading this site and am really impressed with the knowledge.
I'm
[quoted text clipped - 8 lines]
=COUNTIF(U5:U10:U12:U17,"3.028")/COUNTA(U5:U10,U12:U17)
Thanks so much for your help.
|