ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   averages formula (https://www.excelbanter.com/excel-worksheet-functions/33705-averages-formula.html)

Gerald

averages formula
 
i have a column, A1 - A10. Cell A11 is the average of all those numbers in
those cells. How do i manipulate the formula so the average doesn't include
the numbers in cells A4 and A8?

Anne Troy

=AVERAGE(A1:A3,A5:A7,A9:A10)

If you are trying to exclude zero values, you may want a different formula,
such as:

=SUM(A1:A10)/COUNTIF(A1:A10,"0")
*******************
~Anne Troy

www.OfficeArticles.com
www.MyExpertsOnline.com


"Gerald" wrote in message
...
i have a column, A1 - A10. Cell A11 is the average of all those numbers in
those cells. How do i manipulate the formula so the average doesn't

include
the numbers in cells A4 and A8?





All times are GMT +1. The time now is 04:07 PM.

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