Formula to add up numbers but there are negatives

N

Noodlenix

Hi,
I want a formula that will just add up the total numbers and disregard the
negatives, is there a true value formula?
 
M

Mike H

Hi,

Try this

=SUMIF(A1:A6,">0",A1:A6)
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.
 
D

Dave Peterson

Do you want to ignore the negative values or ignore the negative sign?

If you want to just add the positive numbers:
=SumIf(a1:a10,">"&0)

If you want to add all the numbers, but ignore the sign:
=sumproduct(abs(a1:a10))
 

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