+ Reply to Thread
Results 1 to 5 of 5

calculating daily totals

  1. #1
    Registered User
    Join Date
    06-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    7

    calculating daily totals

    Hi folks, I have a table with 5 years of data containing 16k+ rows. It's organised from top to bottom in date order. Each day however comprises a different number of rows. There are no blank rows between each date. I would like to calculate the individual daily totals but cannot find a way to do this. Does anybody know of a way to do this other than manually? Any help would be gratefully received.

    Best wishes

    Andy

  2. #2
    Valued Forum Contributor
    Join Date
    04-03-2012
    Location
    East Sussex, UK
    MS-Off Ver
    Excel 2003:2010
    Posts
    893

    Re: calculating daily totals

    Use a pivot table.
    If I've been of help, please hit the star

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: calculating daily totals

    If you have a list of the unique dates then you can do this...

    Dates in column A
    Values to sum in column B
    List of unique dates starting in cell D2 downwards

    This formula entered in E2 and copied down:

    =SUMIF(A:A,D2,B:B)

    You can generate the list of unique dates easily using advanced filter:

    http://contextures.com/xladvfilter01.html#FilterUR
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    06-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: calculating daily totals

    Quote Originally Posted by Tony Valko View Post
    If you have a list of the unique dates then you can do this...

    Dates in column A
    Values to sum in column B
    List of unique dates starting in cell D2 downwards

    This formula entered in E2 and copied down:

    =SUMIF(A:A,D2,B:B)

    You can generate the list of unique dates easily using advanced filter:

    http://contextures.com/xladvfilter01.html#FilterUR
    My God Tony, that was quick and worked perfectly. Many thanks for sharing your expertise.

    Best wishes

    Andy

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: calculating daily totals

    You're welcome. Thanks for the feedback!

+ 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