Average Formula Help
I'll show 2 ways to do it, which you choose depends on your circumstances.
But based on what you've posted, I think the 1st way will work for you.
#1: this method gives the average of values GREATER THAN ZERO:
=SUMIF(A1:A6,"0",A1:A6) / COUNTIF(A1:A6,"0")
#2: this method will give you average of non-zero values, which can include
those greater than and/or less than zero, but not zero itself:
=SUMIF(A1:A6,"<0",A1:A6) / COUNTIF(A1:A6,"<0")
"Peter" wrote:
I need to find out how to have the average not count the 0's...
A1 12
A2 0
A3 12
A4 12
A5 0
A6 0
using =average the average is 6. I need the =avaerage not to count the zeos
and the average to be 12.
|