Average formula where blank cells are counted as zeros
If you know the range, you could do the division yourself:
=sum(a1:a6)/6
But this would include other non-numeric cells in the count of cells (6), too.
krwelling wrote:
I am trying to write an average formula that takes into account the blank
cells.
I had only cells A2, A4, A6 filled out, but when I do =average(A1:A6), it is
not treating the blanks as zeros so the answer is much higher than it should
be.
Should I do a logic formula within the cells?
--
Dave Peterson
|