+ Reply to Thread
Results 1 to 6 of 6

Counting cells within a date range

Hybrid View

  1. #1
    Registered User
    Join Date
    10-09-2013
    Location
    Alaska
    MS-Off Ver
    Excel 2007
    Posts
    2

    Counting cells within a date range

    I need help counting how many cells contain dates in September within a row. HELP!

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Counting cells within a date range

    The simplest way is to use a helper column.

    
    =IF(MONTH(A2)=9,1,0)
    will return 1 if month i September

    A sum function will then count how many cells contain 1.

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

    Re: Counting cells within a date range

    Try this:

    =COUNTIFS($1:$1,">="&DATE(2013,9,1),$1:$1,"<="&DATE(2013,9,30))

    assuming your dates are in row 1.

    Hope this helps.

    Pete

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Counting cells within a date range

    One way...

    =SUMPRODUCT(--(TEXT(B2:Z2,"mmm")="Sep"))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    10-09-2013
    Location
    Alaska
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Counting cells within a date range

    GOT IT! Thank you so much!!!!

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

    Re: Counting cells within a date range

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Thanks.

    Pete

+ 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] Counting cells that fall in a date range AND meet a Yes/No condition
    By pentatonic145 in forum Excel General
    Replies: 2
    Last Post: 05-01-2012, 04:26 PM
  2. Conditional counting of cells within a date range
    By nekrofred in forum Excel General
    Replies: 4
    Last Post: 03-03-2011, 01:11 PM
  3. Excel 2007 : Counting a Date Range + blank cells
    By Rino468 in forum Excel General
    Replies: 3
    Last Post: 11-01-2010, 02:40 PM
  4. Counting number of occurences specific date in range of cells in a table
    By jzzman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-17-2009, 01:47 AM
  5. Counting conditional format cells in date range
    By moding blaine in forum Excel General
    Replies: 10
    Last Post: 05-01-2009, 02:51 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