+ Reply to Thread
Results 1 to 7 of 7

Count cells within a specific date range that contain a specific word

  1. #1
    Registered User
    Join Date
    09-18-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    47

    Count cells within a specific date range that contain a specific word

    I have a spreadsheet which I have attached. The "Dashboard" sheet contains a breakdown of failures, month to month. I have created the formula in E2 that will count all the cells in "Failures" column D, that contain a date that is within a specific range. In this case the range is 7/1/2013 to 7/31/2013. Now what I am trying to do is count how many within that range contain certain failure modes which are listed in Column D of "Dashboard"

    In cell E3 of "Dashboard" I need a formula that will count the number of times that "NFF" appears in column K of "Failures" within the date range of 7/1/2013 to 7/31/2013.


    Any help would be great.
    Attached Files Attached Files

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,903

    Re: Count cells within a specific date range that contain a specific word

    Try this in cell E3 and copy to the right.

    =COUNTIFS(Failures!$D:$D,">="&E$1,Failures!$D:$D,"<="&EOMONTH(E$1,0),Failures!$K:$K,$D3)

    Is that what you mean?

    Note the $D3 at the end of the formula is referencing the cell D3 that contains "NFF". You could easily hard code the text into the formula if you prefer.

    BSB.

  3. #3
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,903

    Re: Count cells within a specific date range that contain a specific word

    And your formula in E2 could be =COUNTIFS(Failures!$D:$D,">="&Dashboard!E$1,Failures!$D:$D,"<="&EOMONTH(E$1,0))
    Again, copied right to cover all months.

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Count cells within a specific date range that contain a specific word

    In E3

    =COUNTIFS(Failures!$D$2:$D$303,">=7/1/2013",Failures!$D$2:$D$303,"<=7/31/2013",Failures!$K$2:$K$303,D3)
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Count cells within a specific date range that contain a specific word

    With a helper column.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    09-18-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    47

    Re: Count cells within a specific date range that contain a specific word

    All of these solutions worked perfectly.

    Thanks everyone!

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Count cells within a specific date range that contain a specific word

    Thank you for the feedback:!

+ 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 cells with a date format that have a specific age range
    By te31 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-11-2013, 04:30 PM
  2. [SOLVED] Count Specific word in Specific range
    By sizz1@hotmail.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-16-2006, 06:00 AM
  3. Count Specific word in specific range
    By sizz1@hotmail.com in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-16-2006, 05:35 AM
  4. Count If Specific word in specific range
    By sizz1@hotmail.com in forum Excel General
    Replies: 2
    Last Post: 05-16-2006, 05:20 AM
  5. [SOLVED] Count specific word in a specific range
    By sizz1@hotmail.com in forum Excel General
    Replies: 2
    Last Post: 05-16-2006, 05:20 AM

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