PC Review


Reply
Thread Tools Rate Thread

Adding only negative numbers in row

 
 
jordanpcpre
Guest
Posts: n/a
 
      3rd Apr 2008
I have a list of numbers in a row that has both positive and negative numbers
throughout the row. Is there a way I can get a sum of only the negative
numbers?

The row is very long so I would rather not add the negatives one by one. Is
there a formula that will seek only the negative numbers and add them all up?

Thanks!
 
Reply With Quote
 
 
 
 
Kevin B
Guest
Posts: n/a
 
      3rd Apr 2008
The following formula should do the trick, just adjust the cell addresses to
match your row dimension:

=SUMIF(A1:F1,"<0")
--
Kevin Backmann


"jordanpcpre" wrote:

> I have a list of numbers in a row that has both positive and negative numbers
> throughout the row. Is there a way I can get a sum of only the negative
> numbers?
>
> The row is very long so I would rather not add the negatives one by one. Is
> there a formula that will seek only the negative numbers and add them all up?
>
> Thanks!

 
Reply With Quote
 
Ron Coderre
Guest
Posts: n/a
 
      3rd Apr 2008
Try something like this:

This formula sums the negative numbers in row 3:
=SUMIF(3:3,"<0")

Or...if you are using a range:
This formula sums the negative numbers from A3:Z3
=SUMIF(A3:Z3,"<0")

Does that help?
Post back if you have more questions.
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"jordanpcpre" <(E-Mail Removed)> wrote in message
news:FA002F7C-D930-4F1F-B031-(E-Mail Removed)...
>I have a list of numbers in a row that has both positive and negative
>numbers
> throughout the row. Is there a way I can get a sum of only the negative
> numbers?
>
> The row is very long so I would rather not add the negatives one by one.
> Is
> there a formula that will seek only the negative numbers and add them all
> up?
>
> Thanks!




 
Reply With Quote
 
David Biddulph
Guest
Posts: n/a
 
      3rd Apr 2008
=SUMIF(A1:H1,"<0")
--
David Biddulph

"jordanpcpre" <(E-Mail Removed)> wrote in message
news:FA002F7C-D930-4F1F-B031-(E-Mail Removed)...
>I have a list of numbers in a row that has both positive and negative
>numbers
> throughout the row. Is there a way I can get a sum of only the negative
> numbers?
>
> The row is very long so I would rather not add the negatives one by one.
> Is
> there a formula that will seek only the negative numbers and add them all
> up?
>
> Thanks!



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Adding positive or negative numbers in a column skygazer Microsoft Excel Misc 5 29th Apr 2010 03:14 PM
adding positive and negative numbers Coach O Microsoft Excel Worksheet Functions 3 30th Dec 2008 03:53 AM
negative numbers adding not subtracting kevhatch Microsoft Excel Misc 2 27th Jun 2008 12:25 AM
Adding Negative and Positive Numbers Jacq Microsoft Excel Misc 4 4th Dec 2007 07:00 PM
Adding up negative numbers only tonydepo Microsoft Excel Misc 7 15th Oct 2004 01:25 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:09 AM.