Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
lister_d_000169
 
Posts: n/a
Default Sum a range but exclude and negative values


I am looking to sum a range of cells but not include in the sum any
negative values.

Thus far all that i could think of doing was a round about way via the
ABS and the SUM functions but was looking to see if there was a
function that would do the whole job lot in one go!!


--
lister_d_000169
------------------------------------------------------------------------
lister_d_000169's Profile: http://www.excelforum.com/member.php...o&userid=32950
View this thread: http://www.excelforum.com/showthread...hreadid=547430

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default Sum a range but exclude and negative values

=SUMIF(RangeToSum,"0")

will do it for you
lister_d_000169 wrote:
I am looking to sum a range of cells but not include in the sum any
negative values.

Thus far all that i could think of doing was a round about way via the
ABS and the SUM functions but was looking to see if there was a
function that would do the whole job lot in one go!!


--
lister_d_000169
------------------------------------------------------------------------
lister_d_000169's Profile: http://www.excelforum.com/member.php...o&userid=32950
View this thread: http://www.excelforum.com/showthread...hreadid=547430


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Marcelo
 
Posts: n/a
Default Sum a range but exclude and negative values

sumif(range;"0")

Regards from Brazil
Marcelo

"lister_d_000169" escreveu:


I am looking to sum a range of cells but not include in the sum any
negative values.

Thus far all that i could think of doing was a round about way via the
ABS and the SUM functions but was looking to see if there was a
function that would do the whole job lot in one go!!


--
lister_d_000169
------------------------------------------------------------------------
lister_d_000169's Profile: http://www.excelforum.com/member.php...o&userid=32950
View this thread: http://www.excelforum.com/showthread...hreadid=547430


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
Formula to ignore negative numbers in a column? Tia Excel Worksheet Functions 3 February 4th 06 02:53 PM
How to average a column, but exclude zero AND negative values? KMHarpe Excel Discussion (Misc queries) 1 July 20th 05 10:06 PM


All times are GMT +1. The time now is 10:21 AM.

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"