Count the number of times dates in certain month appears in range in Microsoft Excel

Follow by Email

In this article, you will learn how to count the number of times dates in certain month appear in range in Microsoft Excel. To solve this problem we use SUM function along with MONTH and YEAR function.

In this problem:-

  • SUM function will help to return the count on the basis of criteria.
  • MONTH function will help to provide the month for matching.
  • YEAR function will help to provide the year for matching.

Let’s understand with example:-

We have a range of date and in other ranges we have criteria list of month and Year.

image 1


Follow below steps:-

  • Enter the formula in cell E2
  • =SUM((MONTH($A$2:$A$12)=B2)*(YEAR($A$2:$A$12)=C2)*1)

image 2

  • Press the key Ctrl+Shift+Enter
  • The function will return 1

image 3

  • Copy the same formula in the range.

image 4
Taken away:-

  • How to count the numbers through SUM formula
  • How to count on the basis of Month and Year (multiple criteria)

image 48

If you liked our blogs, share it with your friends on Facebook. And also you can follow us on Twitter and Facebook.
We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at [email protected]


Please follow and like us:

Leave a Reply

Your email address will not be published. Required fields are marked *

− 5 = four

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>