Forum Discussion

Karenaki's avatar
Karenaki
Copper Contributor
Mar 07, 2022
Solved

Countif formula using date from specified cell - but partial match only

I have a set of bookings in one tab (2022 data), with their registration date in column I. I want to use COUNTIF formula to count how many bookings we've received on each date, on another tab, so th...
  • HansVogelaar's avatar
    HansVogelaar
    Mar 07, 2022

    Karenaki 

    I had assumed that the cells contained 'real' date/time values. However, Excel does not recognize 2022-03-03T15:26:24.000Z as a date; it treats it as text. Try

     

    =COUNTIF('2022 Data'!I1:I5000,TEXT(Z2,"yyyy-mm-dd")&"*")

     

     

Resources