+ Reply to Thread
Results 1 to 3 of 3

SUMIFS by month/year

  1. #1
    Registered User
    Join Date
    06-15-2011
    Location
    Indianapolis, Indiana
    MS-Off Ver
    Excel 2007
    Posts
    14

    SUMIFS by month/year

    I have a workbook with two sheets:
    1. Tracking (used multiple times a day to track time spent working on certain tasks)
    2. Report Template (used to report on the Tracking sheet)

    Tracking contains:
    • Date of Task (Column B)
    • Amount of Time Spent (Column C)
    • Reference Number (Column E)
    • Type of Activity (Column H)

    Report Template contains:
    • Cell I7 needs to be equal to the total time spent on projects (non-procedure) by month/year

    Cell I7:
    Please Login or Register  to view this content.
    This function works great for totalling the amount of time spent on projects (non-procedure) throughout the entirety of the Tracking sheet. However, I need to add the additional criteria of being able to select a month and year to total (dates reside in Tracking!B:B).

    I would like to reference two additional cells within this function. Those cells would contain a month (i.e. 6) and year (i.e. 2011).

    Any thoughts on how I reach this goal?

    Thanks!
    Ryan
    Last edited by Lyric; 06-16-2011 at 09:48 AM.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: SUMIFS by month/year

    Assuming the month is in Z1 and year in Z2 try

    =SUMIFS(Tracking!C:C,Tracking!E:E,"PROJ*",Tracking!H:H,"<>Procedure",Tracking!B:B,">="&DATE(Z2,Z1,1),Tracking!B:B,"<"&DATE(Z2,Z1+1,1))
    Audere est facere

  3. #3
    Registered User
    Join Date
    06-15-2011
    Location
    Indianapolis, Indiana
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: SUMIFS by month/year

    Wonderful! Thank you daddylonglegs!

+ 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