Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default sum positive and negative values separately

Hi,
I have a time series like this:

1995, -.05
1996, -2.1
1997, 3.6
1998, 4.3
1999, -0.7
2000, -0.08

and I would like to sum just the positive and negative value separately
in this way

1995, -2.15
1997, 7.9
1999, -0.78

And I don't know if it is possible, thanks in advance.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 94
Default sum positive and negative values separately

All is possible.
Free your mind and your ass will follow


Assuming your original list is in column A and B
paste the following formula into C1 and paste down as far as you need.

http://www.excel-ant.co.uk

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 94
Default sum positive and negative values separately

would help if i put the formula in

=IF(ODD(ROW())=ROW(),SUM(B1:B2),"")

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default sum positive and negative values separately

It works well, thank you so much

regards Guido

somethinglikeant ha scritto:

would help if i put the formula in

=IF(ODD(ROW())=ROW(),SUM(B1:B2),"")


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
summing only positive or negative values Daniel Collison Excel Worksheet Functions 1 October 2nd 08 07:47 PM
Sorting Negative with Positive Values Chris Excel Discussion (Misc queries) 0 January 31st 08 08:59 PM
Changing positive values to negative jay New Users to Excel 2 July 7th 07 01:34 AM
Formula to make Negative Values Positive & Positive Values Negative? mustard Excel Discussion (Misc queries) 4 September 26th 05 10:05 PM
... Count, <<< Positive Values minus Negative Values >>> ... Dr. Darrell Excel Worksheet Functions 4 September 8th 05 01:36 PM


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

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"