Average of cells not containing numbers

I am trying to get the average of a column of cells, but when there is no number in a cell, it still counts it. I need a formula that does not count the blank cells, or cells containing a formula.

User uploaded file

The number here relates to the 2 of 3 cells containing verbiage and returns a ⅔ value.

Posted on Jul 13, 2015 12:54 PM

Reply
3 replies

Jul 13, 2015 3:33 PM in response to iRob77

HiRob,


Why are you using AVERAGEIF?


Does this work:

User uploaded file

All three columns contain the same formula in the footer row.


B11: =IF(SUM(B)<>0,AVERAGE(B),"")


Average ignores empty cells and cells containing text when summing a range of cells and when counting the number values in those cells. In column B, that would produce a count of zero values to average, and would produce a 'division by zero' error in A11. The IF statement avoids that by calculating the average only if the sum is not equal to zero.


The heading on column B was originally correct, as all body cells in this column were empty for the first test. Entering text in B8 was done after the initial test, and gave the sme result (shown)


Regards,

Barry

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Average of cells not containing numbers

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.