How do I add only the positve numbers in a column with both positive and negative numbers?
S skygazer Apr 29, 2010 #1 How do I add only the positve numbers in a column with both positive and negative numbers?
B Bernard Liengme Apr 29, 2010 #3 =SUMIF(A1:A100,">0") will sum the poisitve values =SUMIF((A1:A100,"<0") will sum the negative ones best wishes
=SUMIF(A1:A100,">0") will sum the poisitve values =SUMIF((A1:A100,"<0") will sum the negative ones best wishes
J Jeff Apr 29, 2010 #5 =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.
=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.