ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Need help with formula to average numbers while ignoring "0" value (https://www.excelbanter.com/excel-worksheet-functions/141460-need-help-formula-average-numbers-while-ignoring-0-value.html)

mharv72

Need help with formula to average numbers while ignoring "0" value
 
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


Toppers

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



All times are GMT +1. The time now is 05:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com