Sub topic 8
Period Counters and Year Flags
A monthly timeline needs more than dates. It also needs labels that identify the order of each period and the fiscal year to which each period belongs. These labels let you group monthly results into annual totals without manually selecting columns.
This chapter assumes that you know basic Excel formulas, relative and absolute references, and a column-based financial model layout. Assume that monthly period ends are already in row 6, beginning in column D.
Add a Period Counter
A period counter gives every monthly column a sequential number. The first month is period 1, the next month is period 2, and so on.
Use these formulas:
D8: =1
E8: =D8+1Copy the formula in E8 to the right. The result is:
| Column | Period end | Period counter |
|---|---|---|
| D | 31-Jan-2025 | 1 |
| E | 28-Feb-2025 | 2 |
| F | 31-Mar-2025 | 3 |
The counter is useful for formulas that need to schedule an event after a fixed number of months. For example, if a loan is drawn down before the timeline begins and its payment occurs after period n, the counter can be passed to EDATE.
A counter also makes the timeline easier to inspect. If a copied formula skips from 12 to 14, a column was probably inserted, deleted, or overwritten.
Calculate the Fiscal Year-End Date
A fiscal year is a 12-month reporting period. It does not have to end in December. A company may use June, September, or another month as its fiscal year-end.
Put the fiscal year-end month number in cell C3:
1means January.6means June.12means December.
For each monthly period, calculate the fiscal year-end date in row 9:
D9: =EOMONTH(D6,MOD($C$3-MONTH(D6),12))Copy the formula across the monthly timeline.
The formula works in three steps:
MONTH(D6)gets the month number of the current period end.$C$3-MONTH(D6)calculates how many months remain until the fiscal year-end month.MOD(...,12)converts the result into a value from 0 through 11, so the formula finds the next applicable fiscal year end.EOMONTHreturns the last day of that month.
For a June fiscal year end:
| Period end | Months to fiscal year end | Fiscal year end |
|---|---|---|
| 31-Jan-2025 | 5 | 30-Jun-2025 |
| 28-Feb-2025 | 4 | 30-Jun-2025 |
| 31-Jul-2025 | 11 | 30-Jun-2026 |
The MOD function is important when the current period is already in the fiscal year-end month. For example, with a June year end, June 2025 has a zero-month offset, so its fiscal year-end date remains 30-Jun-2025 rather than moving to June 2026.
Derive the Fiscal Year Label
Use the year of the fiscal year-end date as the fiscal year label:
D10: =YEAR(D9)Copy the formula across. Every month from July 2024 through June 2025 receives the label 2025 when the fiscal year ends in June.
This label is a year flag. It repeats for every month in the same fiscal year, which makes it suitable as a SUMIFS criterion later.
The label convention must be agreed before building the model. YEAR(D9) names a fiscal year by its ending calendar year. If your organization names a July 2024–June 2025 year FY2024, use a different convention, such as YEAR(D9)-1. Do not change the formula without documenting the naming rule.
How the Rows Relate
A row 8 counter answers, “Which monthly period is this?” Row 9 answers, “Which fiscal year-end boundary contains this period?” Row 10 answers, “Which fiscal year label should group this period?”
Exercise
With a June fiscal year end, what fiscal year label should a period ending 31-May-2025 receive, and what label should a period ending 30-Jun-2025 receive?
Show answer
Both periods receive 2025 because both belong to the fiscal year ending 30-Jun-2025.