ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional Averages (https://www.excelbanter.com/excel-discussion-misc-queries/79002-conditional-averages.html)

Kris Andersen

Conditional Averages
 
I'm trying to calculate the average of ONLY the positive numbers from a
column of both positive and negative numbers. I'm sure there's an easy way
to do it, but everything I've tried hasn't worked. Any suggestions greatly
appreciated!

Kris

Duke Carey

Conditional Averages
 
This is an array formula, meaning you commit it with Shift-Ctrl-Enter

=AVERAGE(IF(A1:A100,A1:A10))


"Kris Andersen" wrote:

I'm trying to calculate the average of ONLY the positive numbers from a
column of both positive and negative numbers. I'm sure there's an easy way
to do it, but everything I've tried hasn't worked. Any suggestions greatly
appreciated!

Kris



All times are GMT +1. The time now is 09:05 PM.

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