+ Reply to Thread
Results 1 to 6 of 6

Summing daily data by month

  1. #1
    Registered User
    Join Date
    04-30-2013
    Location
    Arkansas
    MS-Off Ver
    Excel 2013
    Posts
    96

    Summing daily data by month

    In column A, starting at cell A2, I have dates that start with 4/1/2013 and goes until 5/30/2013. Data will continue to be entered daily, so this column will grow. In Column B, starting at cell B2, I have total calls for the specific date. In Cell W2 I have "Apr-13", in W3 I have "May-13", and this column will continue to grow as well. I want a formula that will be able to summarize daily data by month, and eventually be able to tell the difference between Apr-13 and Apr-14.
    Attached Files Attached Files

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Summing daily data by month

    Hi Alphaskidz,

    you can use a pivot in this query.. see attached:-
    Sum by Month.xlsx


    Regards,
    DILIPandey
    <click on below * if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  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: Summing daily data by month

    One way...

    Entered in X2 and copied down:

    =SUMIFS(B:B,A:A,">="&W2,A:A,"<="&EOMONTH(W2,0))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    04-30-2013
    Location
    Arkansas
    MS-Off Ver
    Excel 2013
    Posts
    96

    Re: Summing daily data by month

    What happens when we start adding data for June, July, etc? I don't want to have to continue to update the pivot table. Also, this summarized information we be used as data for charts.

  5. #5
    Registered User
    Join Date
    04-30-2013
    Location
    Arkansas
    MS-Off Ver
    Excel 2013
    Posts
    96

    Re: Summing daily data by month

    Thanks Tony Valko , this worked perfectly. Would you be able to walk me through the syntax of this formula so I understand it?

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

    Re: Summing daily data by month

    Sure...

    =SUMIFS(B:B,A:A,">="&W2,A:A,"<="&EOMONTH(W2,0))

    We want to sum values in column B that fall within specific date boundaries in column A.

    B:B is the sum range

    A:A are the dates

    ">="&W2 is the lower date boundary.

    W2 contains the date 4/1/2013. So the lower date boundary is dates greater than or equal to 4/1/2013.

    "<="&EOMONTH(W2,0) is the upper date boundary.

    The EOMONTH function returns the End Of Month date that is n months from the referenced date. The referenced date is 4/1/2013 in cell W2. n months = 0 in this case so EOMONTH returns the end of month date for Apr 2013 which is 4/30/2013.

    So, sum the values in column B that correspond to dates in column A that are greater than or equal to 4/1/2013 AND are less than or equal to 4/30/2013.

    =SUMIFS(B:B,A:A,">="&W2,A:A,"<="&EOMONTH(W2,0))

+ 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