English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Using Excel or OpenOffice I am curious how I find only the sum of only the positive numbers / figures in a column? Also I am wondering if there is a way to find the sum of all numbers of a certain colored text in a column and in the whole sheet. I know how to get the sum of numbers within a certain range of a column with using the =sum(A#:A#) but need to be able to get the sum of only the positive numbers as income as the negative amounts would not be deductible debt. Thanks.

2007-01-04 13:37:42 · 7 answers · asked by crazysweetguy 3 in Computers & Internet Software

I tried both without any luck. I have OpenOffice. It just gives me #Name? as if it does not understand it. I even tried hitting Shift Ctrl Enter after typing that in and copied and pasted it in, no luck. Surely there is something overlooked.

2007-01-04 14:31:20 · update #1

7 answers

=SUMIF(A:A,">0")
will sum all positive numbers in column A.
=SUMIF(A5:A20,">0")
will sum all positive numbers from A5 to A20.

2007-01-05 05:59:36 · answer #1 · answered by nospamcwt 5 · 5 0

1

2017-01-21 08:37:05 · answer #2 · answered by ? 4 · 0 0

You could use the Conditional Sum Wizard in the Tools Menu. If it isn't in the drop-down menu you can install it from Add-ins.

The Wizard is fairly easy to use (with a bit of playing around when you first use it) Select >= and then from the next dropdown list (when you see it you'll know what I mean) select your lowest positive number from the column.

It should then add all number equal to your lowest positive number and all numbers higher than that.

I hope I have explained it well enough. If you would like to see an example email and I will send you one.

2007-01-04 15:06:03 · answer #3 · answered by col5473 2 · 0 0

OK, here's an example.

Let's say you have 100 numbers in column A, and you want to sum only the positive ones. Click in a cell, then enter this formula:
=sum(if(A1:A100>0,A1:A100,0))

To sum only the negatives:
=sum(if(A1:A100>0,A1:A100,0))


For both formulas, you'll have to hit CTRL-SHIFT-ENTER once you type them, not just enter. These are called Array Formulas, and they require the special entry mechanism for that reason.


As far as summing the numbers of any other color... you'd have to write your own Excel macro to do this.

2007-01-04 13:48:13 · answer #4 · answered by ♫CuriousC☼ 3 · 0 0

Place a second (empty) column next to the important one.
Assuming the original was column "A" then the formula in "B" is:

=IF ( A1>0, A1, 0)

Copy this formula down the column, and you will have a column with ONLY the positive numbers from column A. You can now sum this with SUM(B1:B1000)

2007-01-04 13:44:36 · answer #5 · answered by Alan 6 · 0 0

First-class Online Store --> http://mall2.w3org.pw/xl3bh

2016-05-31 00:22:35 · answer #6 · answered by Anonymous · 0 0

Cool stuff I didn't know you could program IN excel!! Let alone for a good purpose, and in openoffice

2015-10-10 17:39:58 · answer #7 · answered by Jonathan 1 · 0 0

fedest.com, questions and answers