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.
Grouped both ways, the hours differ on every line:
| Calendar month | Hours | Reporting period | Hours |
|---|---|---|---|
| January | 405.0 | Jan' 2026 | 391.5 |
| February | 482.5 | Feb' 2026 | 491.0 |
| March | 602.0 | Mar' 2026 | 529.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:
- 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.
- Check the year view, then download the Daily calendar: one row per day, with its period, week and quarter.


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.
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.
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.