Adding only positive numbers

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

Guest

I have 2 columns of numbers. I want to add column 2 to column 1 but only if
the number in column 2 is a positive number. How do I do this?
 
Columns A & B

in C1:

=IF(B1>0,A1+B1,"")

If B <= 0, result is blank.

Is this what you want?

If you want answer in column A, then you will need VBA.

HTH
 

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