Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Annette
 
Posts: n/a
Default Add negs, Add positives

I want to be able to sum only negative numbers ... then on another row, sum
the positive numbers but don't know how to do that unless I sort my ss, and
I don't want to because the negs and pos all relate to certain objects.

Thanks!


  #2   Report Post  
Paul B
 
Posts: n/a
Default

Annette, something like this, =SUMIF($A$1:$A$9,"<0"),
=SUMIF($A$1:$A$9,"0")

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"Annette" wrote in message
...
I want to be able to sum only negative numbers ... then on another row,

sum
the positive numbers but don't know how to do that unless I sort my ss,

and
I don't want to because the negs and pos all relate to certain objects.

Thanks!




  #3   Report Post  
Jason Morin
 
Posts: n/a
Default

Sum neg.:

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

Sum pos.:

=SUMIF(A:A,"0")

HTH
Jason
Atlanta, GA

-----Original Message-----
I want to be able to sum only negative numbers ... then

on another row, sum
the positive numbers but don't know how to do that

unless I sort my ss, and
I don't want to because the negs and pos all relate to

certain objects.

Thanks!


.

  #4   Report Post  
JulieD
 
Posts: n/a
Default

Hi Annette

use the SUMIF function
=SUMIF(A1:A10,"<"&0) for negative numbers
=SUMIF(A1:A10,""&0) for positive numbers
where the numbers are in cells A1 to A10

Cheera
JulieD

"Annette" wrote in message
...
I want to be able to sum only negative numbers ... then on another row, sum
the positive numbers but don't know how to do that unless I sort my ss,
and
I don't want to because the negs and pos all relate to certain objects.

Thanks!




  #5   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

=SUM((A1:A100)*(A1:A1000))
=SUM((A1:A100)*(A1:A100<0))
both entered as array functions (Ctrl+Shift+Enter)


Arvi Laanemets


"Annette" wrote in message
...
I want to be able to sum only negative numbers ... then on another row,

sum
the positive numbers but don't know how to do that unless I sort my ss,

and
I don't want to because the negs and pos all relate to certain objects.

Thanks!






  #6   Report Post  
Annette
 
Posts: n/a
Default

Sheesh ... you all have the same answer so I guess that means I have an
answer ... haha ... thanks for your quick responses and to tell you the
truth, it never dawned on me to use the < or ... Thanks again!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"