#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default SUm

Hai

How to sum in a column only a positive and negative value separetly

rgds

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default SUm

Positive values only: =SUMIF(A1:A20,""&0)
Negative values only: =SUMIF(A1:A20,"<"&0)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"shah" wrote in message
...
Hai

How to sum in a column only a positive and negative value separetly

rgds



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default SUm

=SUMIF(A1:A20,"0")
=SUMIF(A1:A20,"<0")
--
David Biddulph

shah wrote:
Hai

How to sum in a column only a positive and negative value separetly

rgds



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default SUm

If it's the whole column you want to sum, use:
=sumif(a:a,"0")
=sumif(a:a,"<0")

Regards,
Fred.

"shah" wrote in message
...
Hai

How to sum in a column only a positive and negative value separetly

rgds


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 02:09 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"