# Summing

#### alfonsoto1

##### Board Regular
How do I go about Summing a column but only positive numbers? And conversely, Summing only negative numbers. Thanks in advance Alfonso

### Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

#### DonkeyOte

##### MrExcel MVP
=SUMIF(range,">"&0,range)

or for -ve numbers

=SUMIF(range,"<"&0,range)

#### Evagrius Ponticus

##### Well-known Member
=SUMIF(C4:C6,">0",C4:C6)

change to "<0" for -

##### Active Member

=SUMIF(Range:Range,">0") will also work

For example, A1 to A10 would be =SUMIF(A1:A10,">0")

See the Excel help file for SUMIF if you want to use one range to evaluate for a condition, but actually sum another range.

Regards,

Hi alfonso:

=SUMIF(A:A,">0")
and
=SUMIF(A:A,"<0")

#### alfonsoto1

##### Board Regular
Thanks, they work. Alfonso

Replies
5
Views
93
Replies
0
Views
76
Replies
10
Views
90
Replies
3
Views
68
Replies
3
Views
172

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,163,708
Messages
5,833,245
Members
430,200
Latest member

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back