+ Reply to Thread
Results 1 to 6 of 6

Summing 12 Months of Data Per Account

  1. #1
    Registered User
    Join Date
    07-11-2011
    Location
    CT
    MS-Off Ver
    Excel 2003
    Posts
    3

    Summing 12 Months of Data Per Account

    Hi,

    I have a lot of accounts and each account has 12 months of data. I need to find yearly sums for each account. The way my excel chart is oriented right now is there are 12 rows per account (i.e. 1 row per month), but there are a few accounts that have less than 12.

    So is there any way to sum 12 months of data for each account in one fell swoop? Right now, I just using the sum function for each account separately, and it is tedious.

    Sorry, if this was unclear (my first post).
    Attached Files Attached Files
    Last edited by qdub; 07-11-2011 at 05:20 PM. Reason: Added example workbook

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,482

    Re: Summing 12 Months of Data Per Account

    It would probably serve you well to upload a sample workbook with some typical, but not necessarily real, data. It is difficult to propose a solution without knowing the structure and content of your workbook and/or worksheet.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    07-11-2011
    Location
    CT
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Summing 12 Months of Data Per Account

    Here is a rough idea of what it's like except there are way more than 3 accounts.
    And in this case I'm looking for the yearly sum for Usage of X per account.
    Attached Files Attached Files

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,482

    Re: Summing 12 Months of Data Per Account

    Cell G2: =IF($A2=$A1,"",SUMIF($A:$A,$A2,E:E))

    Copy across and down.


    Regards

  5. #5
    Registered User
    Join Date
    07-11-2011
    Location
    CT
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Summing 12 Months of Data Per Account

    Thanks, that worked great!

    This isn't that important, but is there anyway to move the result so it appears at the end of each account. I.E the first result will appear in G13 instead of G2? If not, this is still fantastic.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,482

    Re: Summing 12 Months of Data Per Account

    Can't test but try changing the first $A1 to $A3

    Regards

+ 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