SOLVED

Count entries in a column based on date in different column

Occasional Contributor

Hello everyone, 

 

I am trying to get the number of entries in a column based on date in a different column. 

For example, I have the date in Column A and entries in column B. I want to get the total number of entries in column B for yesterday or today. The entries are in text format. I have tried and failed with Countif, sumproduct etc. I am trying something like this  - =Countif(B:B,A:A=Today()) but I am getting errors. Can someone help me with right formula. Please help me and thank you in advance. 

3 Replies
best response confirmed by Ashar2200 (Occasional Contributor)
Solution

@Ashar2200 

 

You may try something like this...

 

=COUNTIFS(A:A,TODAY(),B:B,"<>")