+ Reply to Thread
Results 1 to 5 of 5

Countifs with greater than date

  1. #1
    Forum Contributor
    Join Date
    05-02-2017
    Location
    NoVa, United States
    MS-Off Ver
    Microsoft 365
    Posts
    152

    Countifs with greater than date

    Okay, I'm trying to create a countifs statement, one that only counts rows IF the date is greater than 1/1/2019. I am not having any luck.

    So far my formula is:

    countifs(Roster!H:H,sheet1!A2,Roster!D:D,>01/31/2019)
    Or
    countifs(Roster!H:H,sheet1!A2,Roster!D:D,>(DATE(2019,01,01))

    Neither work.

    Any suggestions?

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Countifs with greater than date

    Gives this a try...

    =COUNTIFS(Roster!H:H,Sheet1!A2,Roster!D:D,">1/1/2019")

    OR

    =COUNTIFS(Roster!H:H,Sheet1!A2,Roster!D:D,">"&(DATE(2019,1,1)))
    HTH
    Regards, Jeff

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,406

    Re: Countifs with greater than date

    Sounds as if they are text and not really dates at all - check that first.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Contributor
    Join Date
    05-02-2017
    Location
    NoVa, United States
    MS-Off Ver
    Microsoft 365
    Posts
    152

    Re: Countifs with greater than date

    jeffreybrown,

    Both of these work - thanks!
    Last edited by jeffreybrown; 02-27-2020 at 12:43 PM. Reason: Please do not quote full posts.

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Countifs with greater than date

    You are very welcome. Thank you for the feedback and rep.

    Note: Please try not to quote a full posts if possible.

+ 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] VBA for Countifs with mixed Variable and Greater-than
    By Remotruker in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-13-2019, 12:02 PM
  2. [SOLVED] countifs and greater than
    By pboost1 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-31-2018, 12:25 PM
  3. Replies: 9
    Last Post: 02-15-2018, 10:10 PM
  4. [SOLVED] Countifs dates greater than 0
    By morerockin in forum Excel General
    Replies: 1
    Last Post: 02-14-2017, 08:57 AM
  5. Countifs not working with greater than (>1)
    By toeyb87 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-12-2016, 05:28 PM
  6. [SOLVED] Countifs - Dates greater than.
    By JasonNeedsHelp in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-15-2015, 06:20 PM
  7. Help With COUNTIFS Using Greater Than Criteria
    By amerain in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 06-04-2013, 11:31 AM

Tags for this Thread

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