Should be Simple

W

Wolff000

This doesn't seem to be all that difficult but my excel skills are wea
to say the least. I have searched but my wording has produce
nothing. I need to get an average of cells while ignoring the cell
with zeros. What would the formula be for this? Thanks in advance
 
R

Ron Coderre

Try these:

=SUM(A1:A10)/SUMPRODUCT(--ISNUMBER(A1:A10)*(A1:A10<>0))

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

Does that help?

Ro
 
Top