Need Formula HELP

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

Guest

I have an Excel spreadsheet that has one column full of positive numbers and
negative numbers. I need a formula that will add up all the positive numbers
in one cell and all the negative numbers in another. I can do this by
selecting each cell one-by-one, but is there a faster way? It's a lot of
numbers to select one-by-one, that's why I am asking. THANKS :-)
 
In the column next to it, (say the first value is in A3), so in B3, put
=if(A3>0,"x","y").

Run this formula to the bottom.

Then in a separate cell, write =sumif(B:B,"x",A:A)

That should work ok

Danny
 
Sorry and repeat the formula elsewhere for negative ie =SUMIF(B:B,"y",A:A)
 

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