Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 67
Default Running total by date

I have to following table:

Date Amount Total
1-Jan-07 0:15 0:15
2-Jan-07 0:15 0:30
3-Jan-07 0:20 0:50
1-Feb-07 0:10 0:10
10-Feb-07 0:10 0:20
12-Feb-07 0:30 0:50
2-Mar-07 1:00 1:00
20-Mar-07 0:25 1:25
and so on

What formula do I use on column "C" so that it keeps a running total for
only that month (date being on column "A").

Regards
--
capt
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Running total by date

Hi,

In C1 put the formula
=B1
Then in C2 put the formula
=IF(MONTH(A2)=MONTH(A1),B2+C1,B2)

Drag down as required

Mike

"capt" wrote:

I have to following table:

Date Amount Total
1-Jan-07 0:15 0:15
2-Jan-07 0:15 0:30
3-Jan-07 0:20 0:50
1-Feb-07 0:10 0:10
10-Feb-07 0:10 0:20
12-Feb-07 0:30 0:50
2-Mar-07 1:00 1:00
20-Mar-07 0:25 1:25
and so on

What formula do I use on column "C" so that it keeps a running total for
only that month (date being on column "A").

Regards
--
capt

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 67
Default Running total by date

Thanks Mike,
It works fine, just the job......cheers!
--
capt


"Mike H" wrote:

Hi,

In C1 put the formula
=B1
Then in C2 put the formula
=IF(MONTH(A2)=MONTH(A1),B2+C1,B2)

Drag down as required

Mike

"capt" wrote:

I have to following table:

Date Amount Total
1-Jan-07 0:15 0:15
2-Jan-07 0:15 0:30
3-Jan-07 0:20 0:50
1-Feb-07 0:10 0:10
10-Feb-07 0:10 0:20
12-Feb-07 0:30 0:50
2-Mar-07 1:00 1:00
20-Mar-07 0:25 1:25
and so on

What formula do I use on column "C" so that it keeps a running total for
only that month (date being on column "A").

Regards
--
capt

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
Rolling running total by date AOU Excel Discussion (Misc queries) 7 May 30th 07 12:44 AM
running total and average of that total after 3 events belvy123 Excel Discussion (Misc queries) 0 March 28th 07 02:57 AM
running total and average of that total after 3 events Toppers Excel Discussion (Misc queries) 1 March 28th 07 02:19 AM
running total by date (not sorted by date though...) rainxking Excel Worksheet Functions 4 May 16th 06 02:01 AM
Running Total D.J.Shaw Excel Worksheet Functions 1 July 8th 05 04:07 PM


All times are GMT +1. The time now is 05:49 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"