+ Reply to Thread
Results 1 to 4 of 4

Counting cells that contain specific text within a date range

Hybrid View

  1. #1
    Registered User
    Join Date
    11-30-2018
    Location
    Smithfield, NC
    MS-Off Ver
    2010
    Posts
    2

    Counting cells that contain specific text within a date range

    Need help counting cells that contain specific text within a date range. 11-30-2018 5-59-20 AM.jpg

    For example. I would like to find out how many US5's (AB Column) there are between 12/1/2018 and 12/31/2018 within the N Column. The goal is to find out how many there are within each month to create a report. Thanks for any help!
    Last edited by walkdaplank24; 11-30-2018 at 07:03 AM.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.85 (24051214))
    Posts
    8,818

    Re: Counting cells that contain specific text within a date range

    you can use a COUNTIFS()

    =COUNTIFS(N3:N18,">="&DATEVALUE("12/1/18"), N3:N18,"<="&DATEVALUE("12/31/18"), AB3:AB18,"US5")
    OR
    =COUNTIFS(N3:N18,">=12/1/18, N3:N18,"<=12/31/18", AB3:AB18,"US5")
    should work the date out itsself

    there are otherways to work out a month - if you wanted different months - you could have a cell with just 12/1/18 and use that to get a Months range
    saves hardcoding the dates into a formula
    however, i dont know how your layout is or if you only have 1 month in the spreadsheet anyway
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    11-30-2018
    Location
    Smithfield, NC
    MS-Off Ver
    2010
    Posts
    2

    Re: Counting cells that contain specific text within a date range

    Thanks! That worked perfectly!

    Let me throw one more question into the mix. Column T represents the estimated hours per US5.. I'm trying to figure out a formula that finds all the US5's within the month and then add the estimated hours for each of the US5 within it. For example, there are 5 US5's within December, each have different hours per US5.. I want to find those and add the hours and output that in a cell.

    Hopefully I'm making sense.

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.85 (24051214))
    Posts
    8,818

    Re: Counting cells that contain specific text within a date range

    Sumifs()
    =sumifs(t3:t18,n3:n18,">=1/1/18", n3:n18,"<=1/4/18", ab3:ab18,"us5")

+ 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. Replies: 2
    Last Post: 05-09-2017, 11:15 AM
  2. [SOLVED] Counting cells with specific text excluding if date in specific cells
    By FraserMc97 in forum Excel General
    Replies: 2
    Last Post: 04-07-2017, 06:19 AM
  3. [SOLVED] Counting cells that contain specific text (date)
    By dsciola in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-03-2016, 06:59 PM
  4. Replies: 5
    Last Post: 05-04-2015, 04:36 PM
  5. Counting text in cells dependant on a date range
    By Netski in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-28-2013, 10:08 AM
  6. VBA - If a range of cells do not contain specific text based on date ranges, then error.
    By Carrie_Smattick in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2013, 07:47 PM
  7. 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

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