+ Reply to Thread
Results 1 to 4 of 4

Count number of dates in a list that fall within a given month.

  1. #1
    Forum Contributor
    Join Date
    09-17-2009
    Location
    Torquay, England
    MS-Off Ver
    Excel 2013
    Posts
    253

    Count number of dates in a list that fall within a given month.

    Hi,

    I have a really long list of dates. I need to write formula for each month to count how many of the dates fall within that month (it doesn't matter what day or year, just what month).

    I have tried =countif and month() but cant crack it.

    Any help would be much appreciated (example attached)

    Thanks
    Attached Files Attached Files
    Last edited by Gooford; 04-25-2018 at 10:18 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Count number of dates in a list that fall within a given month.

    Try

    =SUMPRODUCT(--(MONTH(B5:B9)=9))

  3. #3
    Forum Contributor
    Join Date
    09-17-2009
    Location
    Torquay, England
    MS-Off Ver
    Excel 2013
    Posts
    253

    Re: Count number of dates in a list that fall within a given month.

    This is great, thank you. What does the -- do?

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: Count number of dates in a list that fall within a given month.

    Converts a TRUE or FALSE into 1 or 0

+ 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] 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
  2. [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
  3. 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
  4. Count dates that fall in a certain month
    By bommar2 in forum Excel General
    Replies: 15
    Last Post: 04-28-2011, 11:41 AM
  5. Counting Dates that fall within a certain month
    By wnstar21 in forum Excel General
    Replies: 9
    Last Post: 01-26-2009, 12:24 PM
  6. Count the number of days that fall within a particular month.
    By Portuga in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-30-2008, 04:26 PM
  7. Replies: 3
    Last Post: 08-08-2005, 06:05 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