
Did you use double quotes on the cell B170 in formula?
I tested that, if using double quotes on the cell B170, the formula will not work.
So please try to replace the date in formula with cell, like replacing "04/01/2021" with cell B170 without double quotes on it.
You could refer to the example given below.
Data is listed like below screenshot.
Use the formula =COUNTIF(E:E,A2).
Then drag the lower right corner of cell B2 to B7.
This step is to quickly copy the formula to other cells.
Then you will see formula updates automatically.
The sell column is as the same.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.