![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 6
|
I have a column of positive and negative numbers. I would lik eto summate only the positive numbers and ignore the negative numbers . Is it possible with excel?
Thanks |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Quote:
=SUMIF(A:A,">0") Hope This Helps!
__________________
Regards! Yogi Anand, D.Eng, P.E. Energy Efficient Building Network LLC www.energyefficientbuild.com |
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Posts: 6
|
To Yogi,
eg: a1:a4 = -1,2,-3,4 I only want to summate the positives giving a total of 6. I have tried a:a>"0", it does not work. Help! |
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Mar 2002
Location: Michigan USA
Posts: 11,452
|
Quote:
You have perhaps entered the formula incorrectly. Please reenter the formula as: =SUMIF(A:A,">0") or =SUMIF(A1:A4,">0") and with your entries the result should be 6 Regards! _________________ Yogi Anand Edit: Deleted inactive website from hardcoded signature [ This Message was edited by: Yogi Anand on 2003-01-19 13:13 ] |
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|