+ Reply to Thread
Results 1 to 6 of 6

getting data from monthly quarter

  1. #1
    Registered User
    Join Date
    09-27-2010
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    4

    getting data from monthly quarter

    Hi there folks, could use a helping hand here if possible. As of right now i have a column that has dates (mm/dd/yyyy) from lowest to largest. I already set up a formula to tell me how many times a job occurs within a year (2001, 2002, 2003 etc).

    =SUMPRODUCT(--(YEAR(G2:G174)=2001))

    What i need now is instead of giving me all the jobs within one year, i need a formula to give me the jobs within a quater system. So for 2001 how many jobs were between months 01-03, 04-06, 07-09, 10-12. I know i will need at least four rows per year, i really appreciate the help.
    Last edited by andyx181x; 09-28-2010 at 09:35 AM.

  2. #2
    Forum Contributor marc5354's Avatar
    Join Date
    11-10-2009
    Location
    India
    MS-Off Ver
    Excel 2003 & Excel 2007
    Posts
    217

    Re: getting data from monthly quarter

    Please expand your demand... if possible please attached your workbook.

    Marc

  3. #3
    Registered User
    Join Date
    09-27-2010
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: getting data from monthly quarter

    Quote Originally Posted by marc5354 View Post
    Please expand your demand... if possible please attached your workbook.

    Marc
    i can't submit my workbook cause its for work purposes, in essence look at the formula i derived and expand it to instead of just viewing all of that one year, i want specific months broken apart. I want how many jobs were in 2001 between the months of 01-03

  4. #4
    Registered User
    Join Date
    09-27-2010
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: getting data from monthly quarter

    Ok i got a new formula that is telling me how many months within a year occur, now i need it to some how tell me more then one month

    =SUMPRODUCT(--(MONTH(G2:G174)=2)*(--(YEAR(G2:G174)=2009)))

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

    Re: getting data from monthly quarter

    That's a slightly confused syntax, normally either

    =SUMPRODUCT(--(MONTH(G2:G174)=2),--(YEAR(G2:G174)=2009))

    or

    =SUMPRODUCT((MONTH(G2:G174)=2)*(YEAR(G2:G174)=2009))

    You could expand the second one to count multiple months like this

    =SUMPRODUCT((MONTH(G2:G174)={1,2,3})*(YEAR(G2:G174)=2009))

    or just count between the start and end dates

    =SUMPRODUCT((G2:G174>=DATE(2009,1,1))*(G2:G174<=DATE(2009,3,31))
    Audere est facere

  6. #6
    Registered User
    Join Date
    09-27-2010
    Location
    california
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: getting data from monthly quarter

    Quote Originally Posted by daddylonglegs View Post
    That's a slightly confused syntax, normally either

    =SUMPRODUCT(--(MONTH(G2:G174)=2),--(YEAR(G2:G174)=2009))

    or

    =SUMPRODUCT((MONTH(G2:G174)=2)*(YEAR(G2:G174)=2009))

    You could expand the second one to count multiple months like this

    =SUMPRODUCT((MONTH(G2:G174)={1,2,3})*(YEAR(G2:G174)=2009))

    or just count between the start and end dates

    =SUMPRODUCT((G2:G174>=DATE(2009,1,1))*(G2:G174<=DATE(2009,3,31))
    Thanks thats a lot simplier then just repeating the month command. I need one more favor please. The second portion is i have an extra column that next to the row of the date it either says completed or unfullfilled. I need a formula that will count how many times the word unfilled is found within the three month range and single year.

+ 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