ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   how do I average a range which also contains empty cells (https://www.excelbanter.com/excel-discussion-misc-queries/247073-how-do-i-average-range-also-contains-empty-cells.html)

tom

how do I average a range which also contains empty cells
 
I am attempting to average a column of numbers; however, some cells in the
column are blank. Is there any means of using the average formula that will
calculate the correct average to that will also incorporate the empty cells?

Tom
Pensacola, FL

David Biddulph[_2_]

how do I average a range which also contains empty cells
 
The AVERAGE function does not get upset by empty cells.
--
David Biddulph

Tom wrote:
I am attempting to average a column of numbers; however, some cells
in the column are blank. Is there any means of using the average
formula that will calculate the correct average to that will also
incorporate the empty cells?

Tom
Pensacola, FL




Mike H

how do I average a range which also contains empty cells
 
Tom,

=SUM(A1:A10)/10

Mike

"Tom" wrote:

I am attempting to average a column of numbers; however, some cells in the
column are blank. Is there any means of using the average formula that will
calculate the correct average to that will also incorporate the empty cells?

Tom
Pensacola, FL


T. Valko

how do I average a range which also contains empty cells
 
To include empty cells and assign them a value of 0:

=SUM(A1:A10)/ROWS(A1:A10)

--
Biff
Microsoft Excel MVP


"Tom" wrote in message
...
I am attempting to average a column of numbers; however, some cells in the
column are blank. Is there any means of using the average formula that
will
calculate the correct average to that will also incorporate the empty
cells?

Tom
Pensacola, FL





All times are GMT +1. The time now is 08:13 PM.

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