Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Lollycat
 
Posts: n/a
Default In Excel, how do I only add numbers in a row that are over 0?

In my monthly spreadsheet, I have 31 rows and 8 columns in which I have both
negative and positive numbers. Each row must have a total to the right, but
I only want the positive numbers to be taken into account. However, the
negative numbers are not always in the same column. Any way I can do this?
Thank you!
  #2   Report Post  
R.VENKATARAMAN
 
Posts: n/a
Default

use <sumif see help


Lollycat wrote in message
...
In my monthly spreadsheet, I have 31 rows and 8 columns in which I have

both
negative and positive numbers. Each row must have a total to the right,

but
I only want the positive numbers to be taken into account. However, the
negative numbers are not always in the same column. Any way I can do

this?
Thank you!



  #3   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Sat, 30 Jul 2005 07:00:03 -0700, "Lollycat"
wrote:

In my monthly spreadsheet, I have 31 rows and 8 columns in which I have both
negative and positive numbers. Each row must have a total to the right, but
I only want the positive numbers to be taken into account. However, the
negative numbers are not always in the same column. Any way I can do this?
Thank you!


=SUMIF(rng,"0")


--ron
  #4   Report Post  
Ruthki
 
Posts: n/a
Default


try

=SUMIF(B3:I3,"0",B3:I3)


where b3:I3 are the range you are testing and summing.

R


--
Ruthki
------------------------------------------------------------------------
Ruthki's Profile: http://www.excelforum.com/member.php...o&userid=24503
View this thread: http://www.excelforum.com/showthread...hreadid=391529

  #5   Report Post  
Lollycat
 
Posts: n/a
Default

Thank you very much!!

"Ron Rosenfeld" wrote:

On Sat, 30 Jul 2005 07:00:03 -0700, "Lollycat"
wrote:

In my monthly spreadsheet, I have 31 rows and 8 columns in which I have both
negative and positive numbers. Each row must have a total to the right, but
I only want the positive numbers to be taken into account. However, the
negative numbers are not always in the same column. Any way I can do this?
Thank you!


=SUMIF(rng,"0")


--ron



  #6   Report Post  
Posted to microsoft.public.excel.misc
Knold10
 
Posts: n/a
Default In Excel, how do I only add numbers in a row that are over 0?

I just read this. How about adding the negative numbers?

"Ruthki" wrote:


try

=SUMIF(B3:I3,"0",B3:I3)


where b3:I3 are the range you are testing and summing.

R


--
Ruthki
------------------------------------------------------------------------
Ruthki's Profile: http://www.excelforum.com/member.php...o&userid=24503
View this thread: http://www.excelforum.com/showthread...hreadid=391529


  #7   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default In Excel, how do I only add numbers in a row that are over 0?

Just reverse that inequity sign:

=SUMIF(B3:I3,"<0",B3:I3)



Knold10 wrote:

I just read this. How about adding the negative numbers?

"Ruthki" wrote:


try

=SUMIF(B3:I3,"0",B3:I3)


where b3:I3 are the range you are testing and summing.

R


--
Ruthki
------------------------------------------------------------------------
Ruthki's Profile: http://www.excelforum.com/member.php...o&userid=24503
View this thread: http://www.excelforum.com/showthread...hreadid=391529



--

Dave Peterson
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
how to enter telephone numbers in Excel sheet UMA Excel Discussion (Misc queries) 6 May 6th 05 11:59 PM
why have column letters changed to numbers in excel JCereda Excel Discussion (Misc queries) 1 May 5th 05 12:36 PM
how write excel formula numbers in column => &=< between 20-40 ron New Users to Excel 4 April 30th 05 02:37 PM
My formulas can't 'see' numbers imported from Access in Excel, even when the format is the same. Chrism Excel Discussion (Misc queries) 4 April 12th 05 03:10 PM
How do i increase the size of numbers in a text in Excel. Harry Cross Excel Worksheet Functions 1 November 6th 04 09:24 PM


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