Formula Errors

Calculate Monthly Project Totals and Averages in Excel

Kushani NimanthikaKushani Nimanthika Nov 22, 2026 868 views

Question details

Calculate monthly totals and averages for projects active during each month.

Calculate Monthly Project Totals and Averages in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
A project report contains start dates, end dates, and values, and needs formulas that include projects active in each reporting month.
Observed behavior
Each month's total and average should update as project data is added.
Before you start

Enter valid Excel dates for every project start and end date, and make sure each end date is on or after its start date. The formulas below assume start dates are in column A, end dates in column B, project values in column E, and reporting months in column G.

Solution 1Recommended

Calculate totals and averages for projects active each month

Use SUMIFS and AVERAGEIFS to include projects whose date ranges overlap each reporting month.

These formulas include the full project value in every month the project is active. They do not prorate values by days or project duration, and projects without end dates are excluded.

1
Enter reporting months

In G2, enter a date within the first reporting month. Enter dates for subsequent months in G3 and below.

2
Calculate the monthly total

In H2, enter =SUMIFS($E$2:$E$100,$A$2:$A$100,"<= "&EOMONTH(G2,0),$A$2:$A$100,">0",$B$2:$B$100,">="&EOMONTH(G2,-1)+1). Remove the space after <= so the criterion reads "<="&EOMONTH(G2,0).

3
Calculate the monthly average

In I2, enter =IFERROR(AVERAGEIFS($E$2:$E$100,$A$2:$A$100,"<="&EOMONTH(G2,0),$A$2:$A$100,">0",$B$2:$B$100,">="&EOMONTH(G2,-1)+1),"").

4
Fill the formulas down

Select H2:I2 and drag the fill handle down beside the reporting months in column G. Adjust all row ranges together if your project data extends beyond row 100.

Calculate totals and averages for projects active each month
How the average works: AVERAGEIFS ignores blank project value cells but includes numeric zeros. The formula displays a blank if no matching numeric values are available or another error occurs.
Calculate project reports in WPS

Calculate monthly project totals in WPS Spreadsheets

Open your project workbook in WPS Spreadsheets and use date-based formulas to total and average values for projects active in each month.

  1. 1. Open the workbook: Open WPS Spreadsheets and select Open to load your Excel project workbook.
  2. 2. Check the project columns: Place valid start dates in column A, end dates in column B, and project values in column E. Enter reporting-month dates in column G.
  3. 3. Enter the formulas: In H2, enter =SUMIFS($E$2:$E$100,$A$2:$A$100,"<="&EOMONTH(G2,0),$A$2:$A$100,">0",$B$2:$B$100,">="&EOMONTH(G2,-1)+1). In I2, enter =IFERROR(AVERAGEIFS($E$2:$E$100,$A$2:$A$100,"<="&EOMONTH(G2,0),$A$2:$A$100,">0",$B$2:$B$100,">="&EOMONTH(G2,-1)+1),"").
  4. 4. Fill and save: Drag the fill handle from H2:I2 down through the reporting months, then select Save to update the workbook.
Calculate monthly totals and averages using project start and end datesOpen and save Microsoft Excel XLSX workbooksUse familiar spreadsheet formulas and fill handlesWork with a free, easy-to-use office suite
microsoft office alternative - wps office

Frequently Asked Questions

Which projects are included in a month's total?

A project is included if it starts on or before the last day of the month and ends on or after the first day of the month. Projects that start or end on those boundary dates are included.

Will the formulas include projects added later?

Yes, if you enter them within rows 2 through 100. If you add projects beyond row 100, expand every referenced range in the formulas to cover the new rows.

What happens if a project has no end date?

The formulas exclude it because a blank end date does not meet the end-date criterion. Enter a valid end date, or modify the formula if blank end dates should represent ongoing projects.

Does the monthly total divide a project's value across its duration?

No. The full value is included in each month the project overlaps. A prorated report needs a different formula based on the allocation method, such as days active in each month.