Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

negative entries

ResolvedVersion 2007

Konstantin has attended:
Excel Introduction course

Negative entries

How does one make Excel sum up only positive values and automatically ignore negative entries in a simple summation?

RE: Negative entries

Dear Konstantin

Thank you for attending Excel Introduction Course. I hope you enjoyed the course and that you benefited from it.

It is possible to calculate only the positive figures. We cover a function called SUMIF in Advanced level that can resolve this query.


The syntax of a SUMIF is :

=SUMIF(Range,Criteria,Sum_range)


I'll provide you with a simple example as follows:

A B C

1 10

2 -20

3 -5

4 5

5 =Sumif(A1:A4,">0",A1:A4)

This should give you a result of 15 on cell A5 because it will not count any negative numbers.

NB: If you are using the Function dialog box then you do not need to put >0 in Quotation marks (" ").

I hope this has helped you in resolving your query.

I would request you to mark the post as resolved!!

Kindest Regards

Rajeev Rawat
MOS Master Instructor 2000/2003

Excel tip:

Selecting constant values only

If periodically you need to change all your values back to zero, but leave formulas, text and blank cells as they are select the entire worksheet, choose F5 function key, Special and then Constants and choose the appropriate sub-selections. To enter zero in all the selected cells type 0 and then press Ctrl+Enter.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.89 secs.