Excel - Adding positive or negative numbers in a column

  • Thread starter Thread starter skygazer
  • Start date Start date
S

skygazer

How do I add only the positve numbers in a column with both positive and
negative numbers?
 
=SUMIF(A1:A100,">0") will sum the poisitve values
=SUMIF((A1:A100,"<0") will sum the negative ones
best wishes
 
=SUMPRODUCT((A1:A15)*(A1:A15>0))

A1:15 represents whatever your range is.

I like sumproduct because it is intuitive, showing you your conditions, ie
greater than zero or positive.
 
Back
Top