Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
my47620
 
Posts: n/a
Default Ignoring negative number


I want to be able to total up a column of numbers, sometimes there will
be negative numbers in this column that I want to ignore, how can I
write the formula to ignore all negative numbers.


--
my47620
------------------------------------------------------------------------
my47620's Profile: http://www.excelforum.com/member.php...o&userid=28522
View this thread: http://www.excelforum.com/showthread...hreadid=508667

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default Ignoring negative number

Try in say, B1: =SUMIF(A:A,"0")
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"my47620" wrote in
message ...

I want to be able to total up a column of numbers, sometimes there will
be negative numbers in this column that I want to ignore, how can I
write the formula to ignore all negative numbers.


--
my47620
------------------------------------------------------------------------
my47620's Profile:

http://www.excelforum.com/member.php...o&userid=28522
View this thread: http://www.excelforum.com/showthread...hreadid=508667



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
my47620
 
Posts: n/a
Default Ignoring negative number


I don't understand what you mean. How would I write the formula if I
want to add say B1=A1+A2+A3+A4 and if any of these have a negative
number it will ignore it when it puts it in B1. Thanks


--
my47620
------------------------------------------------------------------------
my47620's Profile: http://www.excelforum.com/member.php...o&userid=28522
View this thread: http://www.excelforum.com/showthread...hreadid=508667

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default Ignoring negative number

Try what Max gave you.
That is exactly what it will do, sum all values in column A that are
great than 0.
If you don't want the whole column, then limit the range
=SUMIF(A1:A10,"0")

--
Regards

Roger Govier


"my47620" wrote
in message ...

I don't understand what you mean. How would I write the formula if I
want to add say B1=A1+A2+A3+A4 and if any of these have a negative
number it will ignore it when it puts it in B1. Thanks


--
my47620
------------------------------------------------------------------------
my47620's Profile:
http://www.excelforum.com/member.php...o&userid=28522
View this thread:
http://www.excelforum.com/showthread...hreadid=508667



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
Converting Negative Number to Postive number Tedd Excel Worksheet Functions 7 September 2nd 09 04:34 PM
cell to show ' 0 ' , or nothing at all, if the sum is a negative number rdmdale Excel Worksheet Functions 4 September 17th 05 03:54 PM
How to make the cell or font color red if the number is negative? Bob T Excel Worksheet Functions 6 August 18th 05 01:28 PM
thousand separator as indian style for negative number kamlakar Excel Discussion (Misc queries) 0 July 11th 05 12:23 PM
2003= negative number&2004= negative number How Do I Calculate gro Jason Excel Worksheet Functions 1 January 14th 05 05:24 PM


All times are GMT +1. The time now is 02:19 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"