Sum and Skip Negative Numbers

  • Thread starter Thread starter AlDeb
  • Start date Start date
A

AlDeb

I have three columns of numbers. I want to sum the three columns into a
fourth column. NO problem there! My issue is if one of the columns has
a negative number I do not want to sum the negative number. How can I
write that into a formula?

Please help!!!
 
Try something like this:

=SUMIF(A1:C1,">=0",A1:C1)

Does that help?

Ron
 
What do I do if the three columns I am summing are F4, I4, & L4??? The
three columns are not all together.
 
Try...

=SUMPRODUCT(--(MOD(COLUMN(F4:L4)-COLUMN(F4),3)=0),--(F4:L4>0),F4:L4)

Hope this helps!
 
As long as you only have a few cells to sum, this will work:

=SUM(MAX(F4,0),MAX(I4,0),MAX(L4,0))

Does that help?

Ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top