#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 45
Default Excel Running Total

I have a worksheet showing daily stock market advances and declines.

One column shows how much the market advanced/declined from the
day before. For example, if the market went up 5 points on Monday,
10 points on Tuesday and 20 points on Wednesday I would like my running
total column to show a running advance of 35 points. If the market goes
down 10 points on Thursday and 10 points on Friday I would like the running
total column to show a consecutive decline of 20 points.

I want all advancing days to show the amount of the total advance until a
negative day appears and then keep a consecutive count of negative days until
a new positive day appears. If would also be ok to keep running totals in two
columns --- a positive total column and a negative total column. However,
once the direction changes I want a new running total to begin.

Your help is appreciated.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...lic.excel.misc
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Excel Running Total

=IF(SIGN(A2)=SIGN(B1),A2+B1,A2)
--
David Biddulph

"Scotty" wrote in message
...
I have a worksheet showing daily stock market advances and declines.

One column shows how much the market advanced/declined from the
day before. For example, if the market went up 5 points on Monday,
10 points on Tuesday and 20 points on Wednesday I would like my running
total column to show a running advance of 35 points. If the market goes
down 10 points on Thursday and 10 points on Friday I would like the
running
total column to show a consecutive decline of 20 points.

I want all advancing days to show the amount of the total advance until a
negative day appears and then keep a consecutive count of negative days
until
a new positive day appears. If would also be ok to keep running totals in
two
columns --- a positive total column and a negative total column. However,
once the direction changes I want a new running total to begin.

Your help is appreciated.



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
Excel stats, game to running season total [email protected] Excel Discussion (Misc queries) 0 February 16th 07 03:20 PM
How do i create a running total in Excel? Marcus1 Excel Discussion (Misc queries) 2 August 24th 05 12:39 PM
Running total w/2 columns - Excel Anna / Ideal Excel Worksheet Functions 14 August 10th 05 04:28 PM
Running total in Excel w/2 columns Anna / Ideal Excel Worksheet Functions 5 August 6th 05 02:25 AM
How do I Autosum a running column total in excel? JR5280 Excel Worksheet Functions 2 February 19th 05 01:59 AM


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