• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Average by Excluding negative values

I want to calculate average by excluding negative values along with excluding top 5 and bottom 5 values other than negative values
 

Attachments

  • Avg by Excluding Negative Values.xlsx
    11.2 KB · Views: 7
Try this array formula ( to be confirmed by pressing SHIFT+CTRL+ENTER 3 keystrokes together) :

=TRIMMEAN(IF(C4:C495>0,C4:C495),10/COUNTIF(C4:C495,">0"))

Regards
Bosco
 
Back
Top