+ Reply to Thread
Results 1 to 7 of 7

Count all dates that fall within a specified month

  1. #1
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    Count all dates that fall within a specified month

    Hello,

    In the attached example, I am looking to count all dates in column D, that are within the month in column F and the results would display in the adjacent cell in Column G.

    Attached is an example of what I am looking to do.

    I appreciate any help figuring this out.

    thanks,
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,794

    Re: Count all dates that fall within a specified month

    Put this in G3:

    =IF(F3="","",SUMPRODUCT(--(TEXT($D$3:$D$100,"yyyymm")=TEXT(F3,"yyyymm"))))

    then copy down. You should change the 100 if you have data beyond row 100.

    Hope this helps.

    Pete

  3. #3
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,910

    Re: Count all dates that fall within a specified month

    In G3:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Copy down.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  4. #4
    Forum Contributor
    Join Date
    07-10-2012
    Location
    United States
    MS-Off Ver
    Office 365
    Posts
    402

    Re: Count all dates that fall within a specified month

    thank you both!

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,794

    Re: Count all dates that fall within a specified month

    You're welcome - thanks for the rep.

    Pete

  6. #6
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,910

    Re: Count all dates that fall within a specified month

    You are welcome and thanks for the rep

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,406

    Re: Count all dates that fall within a specified month

    Late to the party.

    Another way.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Count number of dates in a list that fall within a given month.
    By Gooford in forum Excel General
    Replies: 3
    Last Post: 04-25-2018, 10:24 AM
  2. [SOLVED] How Many Days Fall in Each Month Between Two Dates
    By skate1991 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-17-2017, 09:21 AM
  3. [SOLVED] counting dates that fall within a set month
    By cjharwood in forum Excel General
    Replies: 5
    Last Post: 05-12-2016, 07:24 AM
  4. Count Cells that Fall within a Certain Month
    By joeshamokin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-01-2013, 04:21 PM
  5. Count dates that fall in a certain month
    By bommar2 in forum Excel General
    Replies: 15
    Last Post: 04-28-2011, 11:41 AM
  6. Replies: 1
    Last Post: 10-25-2010, 05:44 PM
  7. Counting Dates that fall within a certain month
    By wnstar21 in forum Excel General
    Replies: 9
    Last Post: 01-26-2009, 12:24 PM

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