ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to average a column, but exclude zero AND negative values? (https://www.excelbanter.com/excel-discussion-misc-queries/36312-how-average-column-but-exclude-zero-negative-values.html)

KMHarpe

How to average a column, but exclude zero AND negative values?
 
I used the formula of =AVG(IF(A1:A10)<0,A1:A10)) to exclude just the zero
values, but what about zero AND Negative?

Thanks!!

Dave Peterson

=AVerage(IF(A1:A10)0,A1:A10))

Still array entered.


KMHarpe wrote:

I used the formula of =AVG(IF(A1:A10)<0,A1:A10)) to exclude just the zero
values, but what about zero AND Negative?

Thanks!!


--

Dave Peterson


All times are GMT +1. The time now is 09:37 AM.

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