View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Toppers Toppers is offline
external usenet poster
 
Posts: 4,339
Default Need help with formula to average numbers while ignoring "0" value

=AVERAGE(IF(A1:A110,A1:A11))

Enter with Ctrl+Shift+Enter

"mharv72" wrote:

The Help function in Excel only provides an example of a formula that
excludes "0" values in a contiguous column. I am trying to figure out how to
write the formula that would average a group of numbers in a non-contiguous
column while ignoring any "0" values. See example of column below (assume
column cells are A1:A11 for example):

34
0
33

25
34
19

0
26
40