+ Reply to Thread
Results 1 to 4 of 4

Counting Dates that fall within a certain month + another criteria

  1. #1
    Registered User
    Join Date
    06-19-2008
    Posts
    63

    Counting Dates that fall within a certain month + another criteria

    Please see attached.

    What formula would I put in D5 that will count how many times, in the "data" worksheet, that the column header (D4) appears with a test date next to it that falls within that month?

    I will be copying it down for the rest of the months into 2015, and across for all column headers in row 4.

    Let me know if I need to clarify anything!

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474

    Re: Counting Dates that fall within a certain month + another criteria

    Try...

    D5, copied across and down:

    =SUMPRODUCT(--(Data!$A$2:$A$482=Testing!D$4),--(Data!$B$2:$B$482-DAY(Data!$B$2:$B$482)+1=Testing!$A5))

  3. #3
    Registered User
    Join Date
    06-19-2008
    Posts
    63

    Re: Counting Dates that fall within a certain month + another criteria

    Yes it works! Thank you

    Now hopefully I can convert it to fit my real spreadsheet!

  4. #4
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474

    Re: Counting Dates that fall within a certain month + another criteria

    You're very welcome!

+ 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