E
Ed Davis
I am using the formulas below for a couple of ranges.
Most work but one is giving me a total of all cells instead of the average.
Example
C36 = 6.00
C37 = 6.00
This formula gives me 12.00 instead of 6.00.
=SUM(C36:C200)/MAX(1,COUNTIF(C36:C200,">0"))
Other ranges work fine.
B36 = 119
B37 = 119
This formula gives me 119 (correct)
=SUM(B36:B200)/MAX(1,COUNTIF(B36:B200,">0"))
I am trying to get the average of the range counting only the cells that
have a number other than "0" in them. There may be cells in between that are
blank of do not have a numbers or zero's.
Most work but one is giving me a total of all cells instead of the average.
Example
C36 = 6.00
C37 = 6.00
This formula gives me 12.00 instead of 6.00.
=SUM(C36:C200)/MAX(1,COUNTIF(C36:C200,">0"))
Other ranges work fine.
B36 = 119
B37 = 119
This formula gives me 119 (correct)
=SUM(B36:B200)/MAX(1,COUNTIF(B36:B200,">0"))
I am trying to get the average of the range counting only the cells that
have a number other than "0" in them. There may be cells in between that are
blank of do not have a numbers or zero's.