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
--
Regards,
Peo Sjoblom
http://nwexcelsolutions.com
"Debbie" <u21726@uwe wrote in message news:600d62a5a3565@uwe...
Hi all, I'm reading this site and am really impressed with the knowledge.
I'm
hoping I can get a simple answer for a simple mind. I am just learning
formulas so much of what I see for answers I just don't truly understand.
Here is the formula I have set up. What I am trying to do is count U5:U10
+
U12:U17. I do actually get the correct results with this following set up,
but I just think I'm being lucky. I can get the set up work correct in
the
CountA function, but not the CountIF...
=COUNTIF(U5:U10:U12:U17,"3.028")/COUNTA(U5:U10,U12:U17)
Thanks so much for your help.