• 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.

Sum Only Positive Or Negative Numbers In Excel

Rajendar

Member
Hi,

Friends,

Please help me to put the formulas for
Sum Only Positive Or Negative Numbers In Excel with criteria match

here with attached sample excel sheet

best regards

Aelmareddy
 

Attachments

  • negetive value.xlsx
    9.6 KB · Views: 6
Maybe.....

1] Sum only positive numbers :

=IF($A2="","",SUMIFS(DATA!$B:$B,DATA!$A:$A,$A2,DATA!$B:$B,">0"))

2] Sum only negative numbers :

=IF($A2="","",SUMIFS(DATA!$B:$B,DATA!$A:$A,$A2,DATA!$B:$B,"<0"))

All copied down

Regards
Bosco
 
Back
Top