+ Reply to Thread
Results 1 to 13 of 13

aggregate multiple transactions with same date...

  1. #1
    Registered User
    Join Date
    12-03-2008
    Location
    The Swamp
    MS-Off Ver
    2000 Pro
    Posts
    75

    aggregate multiple transactions with same date...

    Here I go again.....the sad thing is that I'm the best at excel around the office!!!!

    I have a report that I can export to excel, tracking cash transactions. I want to aggregate on a daily basis without having to add sum after each day. I'll be looking at 3 months history, but shouldn't be an issue for this. I'll be cutting and pasting the data and will run the forumla on the same page. Basically, this is what I'm looking for:

    COL A COL B
    10/1/09 $100
    10/1/09 $500
    10/1/09 $100
    10/2/09 $50
    10/2/09 $50
    10/3/09 $75
    10/3/09 $100

    The formula result should be:
    10/1/09 $700
    10/2/09 $100
    10/3/09 $175


    I have a problem using multiple formulas at the same time, can't ever get them to work right.

    Thanks again for being my continued source of excel genius......I of course take credit here in the office!!!

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: aggregate multiple transactions with same date...

    Hi,

    Will SUMIF work for you?

    =SUMIF(A2:A8,cell_containing_date,B2:B8)
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

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

    Re: aggregate multiple transactions with same date...

    Pivot tables might be an option.. this creates a unique list of dates and their respective counts/sums...

    http://peltiertech.com/Excel/Pivots/pivotstart.htm
    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.

  4. #4
    Registered User
    Join Date
    12-03-2008
    Location
    The Swamp
    MS-Off Ver
    2000 Pro
    Posts
    75

    Re: aggregate multiple transactions with same date...

    OK, I think I figured out how to create a pivot table & it shows the dates & cash in's, & has a field for daily total, but the cell is blank. Also, it does the date by day, but by number, i.e. the 10th -19th is before the 2nd.

  5. #5
    Registered User
    Join Date
    12-03-2008
    Location
    The Swamp
    MS-Off Ver
    2000 Pro
    Posts
    75

    Re: aggregate multiple transactions with same date...

    To add, I have date and cash in as colum labels, but if I add cash in to the sigma value, it only gives me a count of the number of transactions for that day, not the sum of cash ins.

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

    Re: aggregate multiple transactions with same date...

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

  7. #7
    Registered User
    Join Date
    12-03-2008
    Location
    The Swamp
    MS-Off Ver
    2000 Pro
    Posts
    75

    Re: aggregate multiple transactions with same date...

    I've attached a sample, thanks
    Attached Files Attached Files

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

    Re: aggregate multiple transactions with same date...

    The Cash-Ins field does go in the Sigma section.. in the field list, select the Cash-In field that is in the Sigma section, from the menu select Value Field Setting and choose Sum.

    You can also right click the field within table and select Value Field Setting.

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

    Re: aggregate multiple transactions with same date...

    Also, if you right click and select Sort.. it should fix the sorting.

  10. #10
    Registered User
    Join Date
    12-03-2008
    Location
    The Swamp
    MS-Off Ver
    2000 Pro
    Posts
    75

    Re: aggregate multiple transactions with same date...

    OK, Got it summing up right, thanks. What about for the dates to get them in proper order? Any advice?

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

    Re: aggregate multiple transactions with same date...

    See my last post...

  12. #12
    Registered User
    Join Date
    12-03-2008
    Location
    The Swamp
    MS-Off Ver
    2000 Pro
    Posts
    75

    Re: aggregate multiple transactions with same date...

    I tried that, no luck. I've tried reformatting the cells to a mm/dd/yyyy format & they don't change....really weird.

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

    Re: aggregate multiple transactions with same date...

    I am not sure why it would not work..

    What I did was change the formatting of column A to general.. so you see the date serial numbers,

    Then I refreshed the table so that the date column appeared as serial numbers, then I sorted that table, I reset the format in column A to date and refreshed the pivot table again... and voila....
    Attached Files Attached Files

+ 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