CountIf with Date range



  • Tabitha W.Tabitha W. ✭✭✭✭


  • edited 05/11/21

    @Paul Newcome possible to give this a gander as well?

    =COUNTIFS(Status:Status, NOT(@cell = "Canceled"), AND([Event Begins]:[Event Begins] >= DATE(2020, 1, 1), [Event Begins]:[Event Begins] <= DATE(2020, 1, 31)))

    Thanks so much in advance for your help with this!

  • Paul NewcomePaul Newcome ✭✭✭✭✭

    @Matt Fruitman

    =COUNTIFS(Status:Status, NOT(@cell = "Canceled"), [Event Begins]:[Event Begins], AND(@cell >= DATE(2020, 1, 1), @cell <= DATE(2020, 1, 31)))

    The AND goes around the criteria portion and uses @cell references.

  • edited 09/16/21


    I tried to use the formula above and I am obviously doing something wrong. I am trying to count the number of rows that have a created date between July 1, and September 30.. so I can get a total number of submissions for Q3. The range is just a single column and the only criteria is the date range...HALP!

    =COUNTIF({2020 Bynder Data Range 3}, AND(@cell >= DATE(2020, 07, 01), @cell <= (2020, 09, 31))

  • Paul NewcomePaul Newcome ✭✭✭✭✭

    @Megan McLehany You forgot the second DATE function.

  • Trying to count how many people were promoted to the role "Professor Emertius" from date range 1/1/20-12/31/21 and I know my formula must be wrong

    =COUNTIFS([Current Rank]:[Current Rank], CONTAINS("Professor Emeritus", (@cell >+DATE(2019,12,31),[Professor Emeritus]:[Professor Emeritus] )

    Error Code= Unparseable

  • @hollyconradsmith you were SO helpful to me earlier this week, any idea of how i can address my formula above?

  • Hi @Paul Newcome,

    I've been following this thread trying to figure out my issue on my own, with no luck. I am trying to count if a dropdown selection has been made in a column on another sheet for only a specific month and year. I want to have a dashboard widget metric that shows volume by the month/year. Here's what I've got:

    =COUNTIFS{Data Range 1}, "PR",AND({Data Range 6},IFERROR(MONTH(@cell) = 10), {Data Range 6}, IFERROR(YEAR(@cell) = 2021)))

    My hope is that it would count number of times PR was selected when date column cell (data Range 6) was October 2021 (not sure if my date format being MM/DD/YY is an issue).

  • Paul NewcomePaul Newcome ✭✭✭✭✭

    @Akellu It should just be a little bit of a syntax error. Try this one...

    =COUNTIFS{Data Range 1}, "PR", {Data Range 6}, AND(IFERROR(MONTH(@cell), 0) = 10, IFERROR(YEAR(@cell), 0) = 2021))

  • @Paul Newcome Thanks so much for your help. I copied your formula and received the following:

Sign In or Register to comment.