Thanks:  0
Likes:  0

# Thread: Sum column with both - & + numbers

1. I have two columns with both negative and positive numbers, how can I sum both the negative and positive numbers separatly? The columns are D18:D34 and H13:H34. Thanks in advance for any help. AL

2. I assume you'd want the negative numbers summed and displayed in one cell, and the positive (or essentially 0 and above) numbers summed and displayed in a separate cell.

So, try this in one cell:
Positive (0 and above:
=SUMIF(D18:D34,">=0")

and for summing negative numbers in another cell:
=SUMIF(D18:D34,"<0")

Is that what you want?
If so, repeat for your other range and you are good to go.

3. for negative numbers try =SUMIF(D18:D34,"<0",D18:D34)+SUMIF(H13:H34,"<0",H13:H34) and for positive numbers =SUMIF(D18:D34,">0",D18:D34)+SUMIF(H13:H34,">0",H13:H34)
by the way, i notice that the range for column d is different to column h (ie. d is row 18 to 34, while h is row 13 to 34). if this is a typo you'll have to amend the ranges in these formulas

## User Tag List

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•