Ignoring negative number

  • Thread starter Thread starter my47620
  • Start date Start date
M

my47620

I want to be able to total up a column of numbers, sometimes there will
be negative numbers in this column that I want to ignore, how can I
write the formula to ignore all negative numbers.
 
I don't understand what you mean. How would I write the formula if I
want to add say B1=A1+A2+A3+A4 and if any of these have a negative
number it will ignore it when it puts it in B1. Thanks
 
Try what Max gave you.
That is exactly what it will do, sum all values in column A that are
great than 0.
If you don't want the whole column, then limit the range
=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

Back
Top