+ Reply to Thread
Results 1 to 8 of 8

Excel count text in column match date only

  1. #1
    Registered User
    Join Date
    02-02-2011
    Location
    Hong Kong
    MS-Off Ver
    Excel 2000
    Posts
    4

    Lightbulb Excel count text in column match date only

    What is the formula for counting how many CLOSED items on a specified date. Working in 2 work sheets.

    I have created a define name for OPEN AND CLOSED in sheet 1 AND Sheet 2 is where I need to enter result in column C9, Column A9 has the Day to Day dates to match this formula.....not sure but........

    I have tried this =COUNTIF(Open_Date,">=A9")-COUNTIF(Final_Status,">A9")

    However this counts all of the CLOSED ITEMS not matching the date.

    I am tracking month by month.

    I have attached the worksheet.

    The formula needs to be in sheet 2 called Open vs Closed
    In the closed section C9.

    Thanks in Advance
    Attached Files Attached Files
    Last edited by Hisseal; 02-03-2011 at 08:54 AM. Reason: SOLVED

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,189

    Re: Excel count text in column match date only

    Maybe:

    =SUMPRODUCT(--('To Do List data'!$F$5:$F$13>=$A9)*('To Do List data'!$K$5:$K$13="Closed"))


    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Excel count text in column match date only

    I was going to say:

    =SUMPRODUCT((Open_Date>=A9)*(Final_Status="Closed"))

    BUT

    You will have to correct one of your named ranges so that they both have the same ending row. As is, one named range is longer than the other.

    I should point out that ALL of the dates in your sample DO match your criteria so ALL of the "Closed" values ARE being counted. If you change one of those dates to a lesser value you will see a reduction in the formula's return.
    Last edited by Cutter; 02-02-2011 at 10:19 AM.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,189

    Re: Excel count text in column match date only

    Ah, that's why that didn't work ... and I took the easy way out by using specific ranges.

  5. #5
    Registered User
    Join Date
    02-02-2011
    Location
    Hong Kong
    MS-Off Ver
    Excel 2000
    Posts
    4

    Re: Excel count text in column match date only

    Thanks for your reply,
    I am trying to pull out only date(s) which match 5 January 2011 and count how many items was "Closed". Example there might of been on the 5th January 2011 five number of issues raised and 3 closed how to create this formula to capture the date vs closed out.

    Thanks in advance....

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,189

    Re: Excel count text in column match date only

    If you want to match the date, change the >= to = ... but your original formula was >= hence the reason that both Cutter and I used >=

    Regards

  7. #7
    Registered User
    Join Date
    02-02-2011
    Location
    Hong Kong
    MS-Off Ver
    Excel 2000
    Posts
    4

    Thumbs up Re: Excel count text in column match date only

    You are brilliant THANK YOU SoooooMuch!!!
    Problem Solved

  8. #8
    Registered User
    Join Date
    02-02-2011
    Location
    Hong Kong
    MS-Off Ver
    Excel 2000
    Posts
    4

    Re: Excel count text in column match date only

    Quote Originally Posted by Hisseal View Post
    You are brilliant THANK YOU SoooooMuch!!!
    Problem Solved
    Thank you so much

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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