In Excel, how do I only add numbers in a row that are over 0?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In my monthly spreadsheet, I have 31 rows and 8 columns in which I have both
negative and positive numbers. Each row must have a total to the right, but
I only want the positive numbers to be taken into account. However, the
negative numbers are not always in the same column. Any way I can do this?
Thank you!
 
In my monthly spreadsheet, I have 31 rows and 8 columns in which I have both
negative and positive numbers. Each row must have a total to the right, but
I only want the positive numbers to be taken into account. However, the
negative numbers are not always in the same column. Any way I can do this?
Thank you!

=SUMIF(rng,">0")


--ron
 
try

=SUMIF(B3:I3,">0",B3:I3)


where b3:I3 are the range you are testing and summing.

R
 
Or even

=SUMIF(B3:I3,"<0")

--
Regards,

Peo Sjoblom

(No private emails please)
 

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