Function Problems

Show Active Tasks by Date in Excel with Formulas

Huma Ashraf ChHuma Ashraf Ch Dec 2, 2026 868 views

Question details

Create a date-based view showing which tasks are active on each date and optionally count them.

Show Active Tasks by Date in Excel with Formulas
Product
Microsoft Excel
Device & OS
not provided
Scenario
A task list contains task names, start dates, end dates, and projected dates. The user wants a clearer daily view than a slicer or timeline.
Observed behavior
The desired view identifies tasks whose start-to-end range includes each date, while retaining projected dates as a separate reference.
Before you start

Arrange one task per row, with task names in column A, start dates in B, end dates in C, and projected dates in D. Make sure the start and end dates are valid Excel dates and that each end date is on or after its start date.

Solution 1Recommended

Build an Active-Task Matrix with Excel Formulas

Use this method to see each task's active dates and calculate a daily total.

The formulas treat both the start date and the end date as active days. Projected dates remain in column D and do not change the active-date calculation.

1
Add date headers

Enter the first date in E1, then enter subsequent dates across row 1. Format the headers as dates using Home > Number Format.

2
Test each task

In E2, enter =--AND(E$1>=$B2,E$1<=$C2). Drag the fill handle across the date columns and down the task rows. A result of 1 means the task is active on that date; 0 means it is not.

3
Count active tasks

Below the task rows, enter =COUNTIFS($B$2:$B$100,"<="&E$1,$C$2:$C$100,">="&E$1) in the first date column. Adjust the ranges to match your task rows, then drag the formula across.

4
Highlight active days

Select the matrix cells, then use Home > Conditional Formatting to create a rule that highlights cells equal to 1.

Build an Active-Task Matrix with Excel Formulas
Projected dates: Compare the dates in column D with the matrix headers if you also want to mark projected dates. A projected date does not automatically extend a task's start-to-end range.
WPS Spreadsheets

Create an Active-Task Date Matrix in WPS Spreadsheets

Use formulas in WPS Spreadsheets to flag tasks active on each date and count them across a daily schedule.

  1. 1. Open your task list: Open the workbook in WPS Spreadsheets and arrange task names in column A, start dates in B, end dates in C, and projected dates in D.
  2. 2. Enter the date headers: Enter the first date in E1 and add the remaining dates across row 1.
  3. 3. Flag active tasks: Enter =--AND(E$1>=$B2,E$1<=$C2) in E2, then drag the fill handle across the dates and down the task rows.
  4. 4. Add daily totals: Below the task rows, enter =COUNTIFS($B$2:$B$100,"<="&E$1,$C$2:$C$100,">="&E$1), adjust the ranges to fit your list, and fill the formula across.
Show active tasks and daily counts with familiar spreadsheet formulasOpen and save Microsoft Excel XLSX filesUse a familiar spreadsheet interface for task trackingApply conditional formatting to make active days easier to scan
microsoft office alternative - wps office

Frequently Asked Questions

Are the start and end dates included as active days?

Yes. The matrix formula uses >= for the start date and <= for the end date, so both dates are included.

Why does a task show 0 on a date when I expect it to be active?

Check that the date header and the task's start and end values are real spreadsheet dates, not text. Also confirm that the header date falls between the start and end dates.

Does the projected date affect the active-task count?

No. The formulas use only the start and end dates. Keep the projected date in column D as a separate reference unless you explicitly change the calculation.

Can I use a PivotTable to show active tasks by day?

Yes, but a standard PivotTable groups the dates present in the source data; it does not automatically expand each start-to-end interval into daily records. First create a source table with one row per task per active date, then use Insert > PivotTable to summarize it.