Average

P

Peo Sjoblom

=SUMIF(A2:E2,"<>0")/COUNTIF(A2:E2,"<>0")

you can also use an array formula like


=AVERAGE(IF(2:2<>0,2:2))

entered with ctrl + shift & enter


--


Regards,


Peo Sjoblom
 
M

Matt

What I have is the average of C38:p38 I dont want to average any 0 that may
showup in these cells..
 
Top