Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / January 2008

Tip: Looking for answers? Try searching our database.

Positive and negative numbers...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
silas - 09 Jan 2008 04:58 GMT
Hi. I'm having some difficulty with a problem which seems like it should be
simple. In column B I have a list of money amounts, "charges", which include
the occasional negative number, "payments". In column C I need to total all
the positive numbers and in column D all the negative amounts. The formula I
tried merely totals the amounts, subtracting the negatives from the
positives. How can I have C ignore the minuses and D ignore the pluses?

Thanks.

silas
T. Valko - 09 Jan 2008 05:24 GMT
To sum all the positive values:

=SUMIF(B:B,">0")

To sum all the negative values:

=SUMIF(B:B,"<0")

Signature

Biff
Microsoft Excel MVP

> Hi. I'm having some difficulty with a problem which seems like it should
> be simple. In column B I have a list of money amounts, "charges", which
[quoted text clipped - 7 lines]
>
> silas
silas - 09 Jan 2008 06:18 GMT
I knew it was something simple.

Thank you very much.

silas

> To sum all the positive values:
>
[quoted text clipped - 15 lines]
>>
>> silas
T. Valko - 09 Jan 2008 06:37 GMT
You're welcome!

Signature

Biff
Microsoft Excel MVP

>I knew it was something simple.
>
[quoted text clipped - 21 lines]
>>>
>>> silas
Tyro - 09 Jan 2008 06:51 GMT
Why did you ask in an Excel newsgroup?

> Hi. I'm having some difficulty with a problem which seems like it should
> be simple. In column B I have a list of money amounts, "charges", which
[quoted text clipped - 7 lines]
>
> silas
Tyro - 09 Jan 2008 07:21 GMT
It's called simple logic as you would use in real life, not just Excel.

> Hi. I'm having some difficulty with a problem which seems like it should
> be simple. In column B I have a list of money amounts, "charges", which
[quoted text clipped - 7 lines]
>
> silas
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.