summing only positive or negative values

  • Thread starter Daniel Collison
  • Start date
D

Daniel Collison

I have a list of values, some of which are positive and some are negative. I
want to sum all positive values in the list, and all negative values in the
list.

Is anyone aware of a function that allows me to do this?

Thanks,
 
R

Rick Rothstein

You want the SUMIF function.

For positive values: =SUMIF(A1:A10,">0")

For negative values: =SUMIF(A1:A10,"<0")
 

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

Top