Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default summing only positive or negative values

I have a list of values, some of which are positive and some are negative. I
want to sum all positive values in the list, and all negative values in the
list.

Is anyone aware of a function that allows me to do this?

Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default summing only positive or negative values

You want the SUMIF function.

For positive values: =SUMIF(A1:A10,"0")

For negative values: =SUMIF(A1:A10,"<0")

--
Rick (MVP - Excel)


"Daniel Collison" wrote in
message ...
I have a list of values, some of which are positive and some are negative.
I
want to sum all positive values in the list, and all negative values in
the
list.

Is anyone aware of a function that allows me to do this?

Thanks,


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting Negative with Positive Values Chris Excel Discussion (Misc queries) 0 January 31st 08 08:59 PM
summing positive values (cells) in excel Vinayak Bhat Excel Worksheet Functions 2 August 5th 07 04:29 PM
Changing positive values to negative jay New Users to Excel 2 July 7th 07 01:34 AM
Formula to make Negative Values Positive & Positive Values Negative? mustard Excel Discussion (Misc queries) 4 September 26th 05 10:05 PM
... Count, <<< Positive Values minus Negative Values >>> ... Dr. Darrell Excel Worksheet Functions 4 September 8th 05 01:36 PM


All times are GMT +1. The time now is 03:53 PM.

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

About Us

"It's about Microsoft Excel"