Count Active Projects Between Start and End Dates in Excel
Question details
Count projects that are active on a selected date using their start and end dates.

- 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.
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.
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.
Place project start dates in A2:A100, end dates in B2:B100, and the selected date in E1.
Select an empty cell and enter =COUNTIFS(A2:A100,"<="&E1,B2:B100,">="&E1).
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.

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. Open the project list: Open WPS Spreadsheet and select Open to load your workbook.
- 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. Count active projects: Select an empty cell, enter =COUNTIFS(A2:A100,"<="&E1,B2:B100,">="&E1), and press Enter.
- 4. Save the workbook: Select File > Save or Save As and choose an Excel format if needed.

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.




