One way (array-entered: CTRL-SHIFT-ENTER or CMD-RETURN):
=AVERAGE(IF(A1:A4<>0,A1:A4))
Or, if using XL07/08:
=AVERAGEIF(A1:A4,"<>0")
Note: Of course, 0 is a value. If its possible that 0 is a *valid*
value, then you'll need to figure out a different solution.
In article
<48fff24b-518c-40b9-b5b9-c0283477b15b@56g2000hsm.googlegroups.com>,
> Hello - Anyone familiar with a way to take an average of a range of
> cells, but only for the cells that contain values.
[quoted text clipped - 9 lines]
>
> Thanks for any suggestions.