Skip to main content

Create a summary count by month with COUNTIFS in Excel

In Excel, we can use the COUNTIFS function to count cells with given criteria, this tutorial will show you how to use this COUNTIFS function along with EDATE function to create a summary count by month in Excel.


Create a summary count by month with COUNTIFS and EDATE functions

To create a summary count by month, you can use a formula based on the COUNTIFS and EDATE functions, the generic syntax is:

=COUNTIFS(date_range,">="&first_day_of_month,date_range,"<"&EDATE(first_day_of_month,1))
  • date_range: The list of dates you want to count;
  • first_day_of_month: The cell that contains the first day of the month.

Assuming you have a list of dates in column A, now, you want to get a total count based on some specific months. In this case, you should enter the first days of the months that you want to count as below screenshot shown:

Then, please apply the following formula into a blank cell to put the result:

=COUNTIFS($A$2:$A$13,">="&C2,$A$2:$A$13,"<"&EDATE(C2,1))

And then, drag the fill handle to copy this formula to other cells you need, and the total number of cells which belong to the certain month have been returned at once, see screenshot:


Explanation of the formula:

=COUNTIFS($A$2:$A$13,">="&C2,$A$2:$A$13,"<"&EDATE(C2,1))

  • The COUNTIFS function is used to count the number of cells based on multiple criteria, in this formula, C2 is the first day of the month.
  • To get the total count per month, you need to provide another criteria –the first day of next month. This can be returned by using the EDATE function.
  • The whole formula means that the dates to be counted must be greater than or equal to the date in cell C2 and less than the first day of next month provided by the EDATE function.

Relative function used:

  • COUNTIFS:
  • The COUNTIFS function returns the number of cells that meet one single criterion or multiple criteria.
  • EDATE:
  • The COUNTIFS function returns serial number which is n months in future or past.

More articles:

  • Count Number Of Dates By Year, Month
  • When working on Excel worksheet, sometimes, you may want to count the cells where dates from a given year or month as below screenshot shown. To solve this task in Excel, you can use the SUMPRODUCT, YEAR and MONTH functions to create formulas to count the number of dates belongs to the specific year or month as you need.
  • Count Number Of Cells Between Two Values / Dates
  • Have you ever tried to get or count the number of cells between two given numbers or dates in Excel as below screenshot shown? This article will talk about some useful formulas for dealing with it.
  • Count Number Of Cells Contain Numeric Or Non-Numeric Values
  • If you have a range of data which contains both numeric and non- numeric values, and now, you may want to count the number of numeric or non-numeric cells as below screenshot shown. This article, I will talk about some formulas for solving this task in Excel.

The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations