Summing

alfonsoto1

Board Regular
Joined
Nov 25, 2004
Messages
101
How do I go about Summing a column but only positive numbers? And conversely, Summing only negative numbers. Thanks in advance Alfonso
 

Some videos you may like

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.

DonkeyOte

MrExcel MVP
Joined
Sep 6, 2002
Messages
9,123
=SUMIF(range,">"&0,range)

or for -ve numbers

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

Padawan

Active Member
Joined
Apr 9, 2002
Messages
392
To add to lasw10's reply

=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,
 

Watch MrExcel Video

Forum statistics

Threads
1,123,125
Messages
5,599,856
Members
414,342
Latest member
K Darrell Smith

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Top