Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Excel COUNTIFS between date range

How do I count between a date range using COUNIFS? The dates are set as columns The_Date_Start and The_Date_End.

My formula is

=COUNTIFS(Sheet2!C:C,[@Tel],Sheet2!A:A,"<="&[@[The_Date]])

I have tried something like the below but doesn’t work

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

=COUNTIFS(Sheet2!C:C,[@Tel],Sheet2!A:A,"=>"&[@[The_Date_Start]],"<="&[@[The_Date_End]])

>Solution :

You can use this formula:

=COUNTIFS([ColToCount], ">="&[@End], [ColToCount], "<="&[@Start])

Note that all the ranges should be of same length. In your formula, they are of different lengths

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading