ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Ignoring empty cells (https://www.excelbanter.com/excel-discussion-misc-queries/44374-ignoring-empty-cells.html)

beeo

Ignoring empty cells
 
Hi all

let say I have the following row of information

112
98
empty
123
99
empty
empty
99
100
120

Now I want to add the row and divide it by the full cells (no empty)
the result beeing an average (751 / 7 = 107,29) How can I
do this?

Tia


Paul Sheppard


beeo Wrote:
Hi all

let say I have the following row of information

112
98
empty
123
99
empty
empty
99
100
120

Now I want to add the row and divide it by the full cells (no empty)
the result beeing an average (751 / 7 = 107,29) How can I
do this?



Tia


Hi beeo

Use the AVERAGE function =AVERAGE(A1:A10), it ignores the empty cells


--
Paul Sheppard


------------------------------------------------------------------------
Paul Sheppard's Profile: http://www.excelforum.com/member.php...o&userid=24783
View this thread: http://www.excelforum.com/showthread...hreadid=465833


Norman Jones

Hi Beeo,

Use the AVERAGE function which ignores empty cells.


---
Regards,
Norman



"beeo" wrote in message
ups.com...
Hi all

let say I have the following row of information

112
98
empty
123
99
empty
empty
99
100
120

Now I want to add the row and divide it by the full cells (no empty)
the result beeing an average (751 / 7 = 107,29) How can I
do this?

Tia




beeo

Yes of course - Thanks a lot



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

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