All articles

Reporting

Why your Excel months don't match your client's periods

How to report hours and costs by your client's periods in Excel, with the Reporting Calendar and two functions.

When you group dates in a PivotTable, Excel uses calendar months. Many clients report on their own periods instead, each ending on a cut-off date, and expect your hours and costs in those periods.

This article shows what goes wrong, and how to fix it with the free Reporting Calendar and two Excel functions.

What goes wrong

In the sample, the client's Feb' 2026 period runs from 25 January to 21 February. A line dated 27 January is January for Excel and February for the client.

Jan' 2026Feb' 2026Mar' 2026Excel groups by calendar monthDecJanuaryFebruary 482.5 hMarch27 Jan4 hoursThe client groups by reporting periodJan' 2026 Feb' 2026 491 hMar' 2026 27 Jan4 hours
Figure 1. One timesheet line, grouped by calendar month and by reporting period.

Grouped both ways, the hours differ on every line:

Hours by calendar month and by reporting period
Calendar monthHoursReporting periodHours
January405.0Jan' 2026391.5
February482.5Feb' 2026491.0
March602.0Mar' 2026529.5

Over the whole year the grand total is the same both ways, 6,800 hours, so the mistake is easy to miss.

Build the calendar

You need the client's cut-off dates. No tool can guess them, so ask for them first. Then, in the Reporting Calendar:

  1. Upload the periods from the CSV template, or generate them from a pattern such as monthly or 4-4-5. Choose the day your weeks start on in the same window.
  2. Check the year view, then download the Daily calendar: one row per day, with its period, week and quarter.
The Reporting Calendar's year view showing the periods Jan' 2026 to Apr' 2026, with each cut-off date circled.The Reporting Calendar's year view showing the periods Jan' 2026 to Apr' 2026, with each cut-off date circled.
Figure 2. The year view. A green circle marks each cut-off date.

Add the period to each line

Paste the Daily calendar on its own sheet, as a table named Calendar. In your extract, add a Period Title column with:

=XLOOKUP([@[Transaction Date]], Calendar[Date], Calendar[Period Title], "Not in calendar")

It finds each date in the calendar and returns its period. "Not in calendar" flags any date the calendar doesn't cover. The same formula with WeekEnding instead of Period Title adds the week.

Figure 3. The extract with the two lookup columns. The lines of 26 and 27 January now belong to Feb' 2026.

On Excel 2019 or older, use INDEX and MATCH:

=IFERROR(INDEX(Calendar[Period Title], MATCH([@[Transaction Date]], Calendar[Date], 0)), "Not in calendar")

Add up by period

Every line now carries its period, so SUMIFS adds up by period. Task T110 in Feb' 2026:

=SUMIFS(ERP_Extract[Hours], ERP_Extract[Task Code], "T110", ERP_Extract[Period Title], "Feb' 2026")

The answer is 62.5 hours. For cost, replace Hours with Cost. In a PivotTable, put Period Title in Rows instead of the date.

Figure 4. A PivotTable by reporting period.

Before sending the report, check that its total equals the extract's. If it's lower, filter Period Title for "Not in calendar".

Good to know

  • Dates stored as text look like dates, but the lookup can't find them. Convert the column first.
  • Use the date the report is based on. For timesheets, that's usually the day the work was done.
  • A week across two periods goes to the period that contains its last day. Check that this matches the client's rule.
  • If your client reports by calendar month, you don't need any of this.

Downloads

The files used in this article.

  • Example workbook

    Excel. The calendar, an ERP extract with the XLOOKUP columns, and the hours and cost summaries. All the data is invented.

  • Example periods

    CSV. The 12 periods, ready to upload to the Reporting Calendar.

Written by

Salah Eddine Djoual

I work in project controls on engineering projects in Quebec, Canada. I build Foresyra's tools and write The Rebaseline, a practical newsletter for project teams moving from spreadsheet chaos to projects under control.