average without 0 value

A

Alex

Hi everybody,

I have a column as follows:
12%
0
10%
0
0
5%
The aver. % will be 9%. But, if we take 0 into consideration it will be 4.5%.

How could I the Average formula without taking this 0 into consideration?

Thanks
 
F

Frank Kabel

Hi
try the following array formula (entered with CTRL+SHIFT+ENTER):
=AVERAGE(IF(A1:A100<>0,A1:A100))
 
D

Domenic

=AVERAGE(IF(A1:A6<>0,A1:A6))

...entered using CONTROL+SHIFT+ENTER.

Hope this helps!
 
A

anilsolipuram

try this



=( SUM(A1:A6)/ ( COUNT(A1:A6)-COUNTIF(A1:A6,0) ) )


Let me know if your problem is not resolved
 

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