How do I use "sumif" for cells ">0" across multiple ranges?

  • Thread starter Thread starter PKB
  • Start date Start date
P

PKB

I would like to sum cells where they are greater than zero but are across
multiple ranges. Ultimately this is to get an average value therefore I
would need to do the same with a count as well.

There may be a quicker way to get the average rather than using a sum and
count but I'm still curious as to how a sum an count can be used to achieve
this.

Would be grateful for any advise.
 
Hi
An example will be great by anyway to count figures greater than

=COUNTIF(A1:E1,">0")

To sum figures greater than 0

=SUMPRODUCT(--(A1:E1>0),A1:E1)
 
Back
Top