Averages

M

markmcd

Could someone please advise me a nice simple formula for giving an average
for non zero entries. The average function in Excel provides an average of a
list of numbers including numbers that are zero. I need the average of just a
series of numbers where zeros are not considered in the result.
 
T

Tyro

If your numbers are in A1:A10 then an array formula will do it in all Excel
versions.

=AVERAGE(IF(A1:A10<>0,A1:A10)) enter this with Ctrl+Shift+Enter not just
Enter

Excel 2007

=AVERAGEIF(A1:A10,"<>0")
 
D

Dave Peterson

=sum(a1:a10)/(count(a1:a10)-countif(a1:a10,0))
Could someone please advise me a nice simple formula for giving an average
for non zero entries. The average function in Excel provides an average of a
list of numbers including numbers that are zero. I need the average of just a
series of numbers where zeros are not considered in the result.
 
R

RagDyeR

I think this brings up a point of logic.

If zero is not to be used, how do we go from positive to negative without
there being the possibility of the existence of zero?

How do you set the calculations to *bypass that exact* zero transition
point?

Therefore, I assumed:
No Zero
No Negatives

But of course ... the OP is the final word!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top