Function Problems

Count Active Projects Between Start and End Dates in Excel

Huma Ashraf ChHuma Ashraf Ch Dec 2, 2026 868 views

Question details

Count projects that are active on a selected date using their start and end dates.

Count Active Projects Between Start and End Dates in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A project list contains one row per project, with start and end dates in separate columns.
Observed behavior
The desired count includes projects whose start date is on or before the selected date and whose end date is on or after it.
Before you start

Check that each project has a valid start date and end date stored as Excel dates. Enter the date you want to check in a separate cell.

Solution 1Recommended

Use COUNTIFS to count active projects on a selected date

Use this formula when each project has a start date and an end date in the same row.

1
Arrange the dates

Place project start dates in A2:A100, end dates in B2:B100, and the selected date in E1.

2
Enter the formula

Select an empty cell and enter =COUNTIFS(A2:A100,"<="&E1,B2:B100,">="&E1).

3
Check the result

Press Enter. The result counts projects that have started on or before E1 and end on or after E1. Adjust both ranges to match your project list.

Use COUNTIFS to count active projects on a selected date
Boundary dates are included: A project is counted if the selected date is the same as its start date or end date.
Count projects in WPS Spreadsheet

Count active projects with WPS Spreadsheet

Open your project list in WPS Spreadsheet and use COUNTIFS to compare each project's dates with your selected date.

  1. 1. Open the project list: Open WPS Spreadsheet and select Open to load your workbook.
  2. 2. Enter the selected date: Enter the date to check in E1, with start dates in A2:A100 and end dates in B2:B100.
  3. 3. Count active projects: Select an empty cell, enter =COUNTIFS(A2:A100,"<="&E1,B2:B100,">="&E1), and press Enter.
  4. 4. Save the workbook: Select File > Save or Save As and choose an Excel format if needed.
Count projects active on a selected date with COUNTIFSOpen and save Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Does the formula count a project on its start or end date?

Yes. The <= and >= conditions include projects that start or end on the date in E1.

How do I change the formula for a longer project list?

Extend both ranges to cover the same rows. For example, use A2:A500 and B2:B500 if your projects run through row 500.

Why might the count be incorrect?

Check that E1 and the start and end date cells contain valid dates rather than text. Also make sure both COUNTIFS ranges cover matching project rows.

Can I use the same formula in WPS Spreadsheet?

Yes. Enter the COUNTIFS formula in an empty cell in WPS Spreadsheet, using the ranges and selected-date cell from your workbook.