+ Reply to Thread
Results 1 to 6 of 6

Help Needed to create a formula to add values assigned cumulative dates in a month

  1. #1
    Registered User
    Join Date
    05-12-2009
    Location
    London
    MS-Off Ver
    Excel 2007 for MAC
    Posts
    5

    Smile Help Needed to create a formula to add values assigned cumulative dates in a month

    I have a variable list of items in date order, there could be one, more than one, or, no items for any one date
    Each item has it's own line
    I need a formula in a separate column (column F) to total each day's items ...

    Column A includes the Date
    Column F is a cumulative total (as in Column C) for items on the same date

    Column C=D+E

    I am looking for a formula which will add up items in column C if they have the same date in column A, and put the answer in the last cell in column F for that date. Any ideas?

    Example
    A B C D E F
    03-04-09 G Faherty 48.60 8.60 40.00 48.60
    04-04-09 I Sexton 56.35 6.35 50.00 56.35
    05-04-09 A Bell 41.45 11.45 30.00 41.45
    06-04-09 M Trott 54.00 4.00 50.00
    06-04-09 A Aaron 58.15 8.15 50.00 112.15
    08-04-09 M Seaton 28.35 8.35 20.00
    08-04-09 D Brown 52.45 2.45 50.00 80.80
    09-04-09 H Mills 50.55 0.55 50.00
    09-04-09 I Sexton 52.10 2.10 50.00 102.65
    10-04-09 A Bailey 46.50 6.50 40.00
    10-04-09 H Mills 52.15 2.15 50.00
    10-04-09 T O' sullivan 52.30 2.30 50.00
    10-04-09 D Brown 54.05 4.05 50.00
    10-04-09 R B Murthy 52.20 2.20 50.00
    10-04-09 M Seaton 57.95 7.95 50.00
    10-04-09 C Hart 58.45 8.45 50.00 373.60
    11-04-09 P Cook 55.35 5.35 50.00
    11-04-09 M Hart 67.05 17.05 50.00
    11-04-09 I Sexton 53.10 3.10 50.00 175.50
    12-04-09 M Seaton 59.00 9.00 50.00
    12-04-09 M Barber 5.25 5.25 0.00 64.25
    13/04/09 M Trott 52.45 2.45 50.00
    13/04/09 D Flanders 53.20 3.20 50.00 105.65

    Thank you very much for any help
    Kind regards
    T
    Attached Files Attached Files
    Last edited by redreflect; 05-12-2009 at 03:15 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Advanced Formula Problem

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.
    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-12-2009
    Location
    London
    MS-Off Ver
    Excel 2007 for MAC
    Posts
    5

    Re: Help Needed to create a formula to add values assigned cumulative dates in a mont

    Sorry - I hope I have adjusted this acceptably now

    Kind regards
    T

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Help Needed to create a formula to add values assigned cumulative dates in a mont

    Thanks for taking the time to read and comply with the rule .

    Try this formula in F2:

    =IF(A3=A2,"",SUMIF(A$2:A2,A2,C$2:C2))

    copied down.

  5. #5
    Registered User
    Join Date
    05-12-2009
    Location
    London
    MS-Off Ver
    Excel 2007 for MAC
    Posts
    5

    Re: Help Needed to create a formula to add values assigned cumulative dates in a mont

    Thank you very much for your help here, the formula you sent works well but I need to understand this

    =if(A3 is the same as A2, then don't enter anything in F2, or if A3 is not the same as A2 then only add if? And it's this bit in the brackets (A$2:A2,A2,C$2:C2) that I don't understand?)

    I would be very grateful if you could help me to understand this?

    Thank you
    Kind regards
    T

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Help Needed to create a formula to add values assigned cumulative dates in a mont

    Check out the SUMIF function in Excel Help...

    The $ sign "freezes" the row number...so that we are always summing from the top when column A has the same date that is in column A of the row the formula is in...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1