Function Problems

How to Count Active Projects During a Selected Month with COUNTIFS

Chanuka GeekiyanageChanuka Geekiyanage Nov 10, 2026 869 views

Question details

The user needs to calculate the number of projects that are active on a specific date or during a selected month by evaluating their start and end dates.

How to Count Active Projects During a Selected Month with COUNTIFS
Product
Spreadsheet
Device & OS
not provided
Scenario
Tracking project management timelines to determine how many projects overlap with or are ongoing on a target date.
Observed behavior
The goal is to automatically count projects whose date range includes the selected date using spreadsheet formulas.
Before you start

Ensure that your project start dates and end dates are formatted as actual Date values in your spreadsheet, rather than plain text, so the COUNTIFS function can compare them logically.

Solution 1Recommended

Use the COUNTIFS Function to Compare Date Ranges

You can count active projects by using the COUNTIFS function to check if the project's start date is on or before the target date, and its end date is on or after the target date.

The COUNTIFS function applies multiple criteria to cells across multiple ranges and counts the number of times all criteria are met. By combining comparison operators with your target date cell, you can easily filter for active projects.

1
Organize your project data

Ensure your project Start Dates are listed in one column (e.g., B2:B6) and your End Dates are in another column (e.g., C2:C6). Enter your target date to check in a separate cell, such as I2.

2
Input the COUNTIFS formula

Select an empty cell where you want the result to display and enter the formula: =COUNTIFS(B2:B6,"<="&I2,C2:C6,">="&I2).

3
Calculate the result

Press the Enter key. The cell will now display the total number of projects whose timeline overlaps with the date in cell I2.

Use the COUNTIFS Function to Compare Date Ranges
Formula Breakdown: The ampersand (&) is required to concatenate the logical operators (<= and >=) with the cell reference (I2). The formula literally translates to: Count if Start Date is less than or equal to I2 AND End Date is greater than or equal to I2.
Manage Projects Efficiently with WPS Spreadsheet

Use WPS Spreadsheet to Track Active Projects and Data

WPS Spreadsheet provides robust data analysis tools and full support for advanced logical functions like COUNTIFS. It makes managing project timelines, creating Gantt charts, and tracking deadlines effortless.

  1. 1. Open your project data: Launch WPS Spreadsheet and open the workbook containing your project start and end dates.
  2. 2. Select the result cell: Click on the cell where you want the count of active projects to appear.
  3. 3. Apply the COUNTIFS formula: Type the formula comparing your start and end date columns to your target date cell (e.g., =COUNTIFS(B2:B6,"<="&I2,C2:C6,">="&I2)).
  4. 4. View your project count: Press Enter to instantly display the number of active projects for that specific date or month.
100% compatible with Microsoft Excel formulas, date formats, and documentsLightweight and completely free to useBuilt-in templates for project management and timeline trackingSupports complex logical functions like COUNTIFS, SUMIFS, and VLOOKUP
microsoft office alternative - wps office

Frequently Asked Questions

Why is my COUNTIFS formula returning 0 when there are active projects?

This usually happens if your dates are stored as text instead of actual date values. Select your date columns, right-click, choose 'Format Cells', and apply a valid Date format. You may also need to re-enter the dates if they don't convert automatically.

Can I count active projects for an entire month rather than a specific single date?

Yes. To check for an entire month, define a month start date (e.g., I2) and a month end date (e.g., J2). Then modify your formula to check if the project start date is <= J2 (month end) and the project end date is >= I2 (month start): =COUNTIFS(B2:B6,"<="&J2,C2:C6,">="&I2).

What if some projects are ongoing and have no end date yet?

If an end date cell is blank, the standard COUNTIFS might not evaluate it correctly. A simple workaround is to enter a placeholder future date (like 12/31/2099) for ongoing projects, or use a combination of COUNTIFS to include rows where the end date is blank.

Does the COUNTIFS formula work identically in WPS Office and Microsoft Excel?

Yes, the COUNTIFS function syntax and logic are exactly the same in both WPS Spreadsheet and Microsoft Excel, ensuring seamless format and formula compatibility between the two software suites.