Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
I posted a message earlier and have received a partial solution.
I want to keep track of how much stock prices go up or down with a running total of how much they go up or down over several days until the direction changes. For example, if price go up 10 on Mon, 20 on Tues, 30 on Thurs and down 10 on Fri I want my running total column to show a positive number of 60 and then a red number of 10 and continue adding the amount of the total of the down days until the market shows an up day. The formula I am now using total the first and second day but does not do a running total count if there are more than two up or down days in a row. Your help is appreciated. =IF(SIGN(H3)=SIGN(H4),H3+H4,H3) Thanks |
#2
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
=SumIf(A2:A30,"0",A2:A30)
=SumIf(A2:A30,"<0",A2:A30) -- Best wishes, Jim "Scotty" wrote: I posted a message earlier and have received a partial solution. I want to keep track of how much stock prices go up or down with a running total of how much they go up or down over several days until the direction changes. For example, if price go up 10 on Mon, 20 on Tues, 30 on Thurs and down 10 on Fri I want my running total column to show a positive number of 60 and then a red number of 10 and continue adding the amount of the total of the down days until the market shows an up day. The formula I am now using total the first and second day but does not do a running total count if there are more than two up or down days in a row. Your help is appreciated. =IF(SIGN(H3)=SIGN(H4),H3+H4,H3) Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Continuous Running Total | Excel Discussion (Misc queries) | |||
Excel Running Total | Excel Discussion (Misc queries) | |||
How do i create a running total in Excel? | Excel Discussion (Misc queries) | |||
Running total w/2 columns - Excel | Excel Worksheet Functions | |||
Running total in Excel w/2 columns | Excel Worksheet Functions |