Sub topic 10
Rolling Monthly Figures Up to Annual Totals
Assume you know basic Excel formulas, relative and absolute references, column-based financial model layouts, SUMIFS, and the YEAR, MONTH, and DAY functions. This chapter shows how to connect a monthly model to an annual summary without manually selecting months.
The working model
A monthly timeline has one column per period. For example, columns D through AM may contain 36 months of revenue. Each month has:
- A period end date in row 6.
- A fiscal year-end date in row 9.
- A monthly value, such as revenue, in row 20.
The fiscal year-end date acts as a year flag. Every month belonging to the same fiscal year receives the same flag.
For a June fiscal year end, all months from July 2024 through June 2025 receive the flag 30-Jun-2025. The annual summary can then sum every monthly value whose flag equals the annual header.
Inputs:
C2 = model start date, such as 15-Jan-2025
C3 = fiscal year-end month number, such as 6 for June
Monthly period end:
D6: =EOMONTH($C$2,0)
E6: =EOMONTH(D6,1)
Monthly fiscal year-end flag:
D9: =EOMONTH(D6,MOD($C$3-MONTH(D6),12))
Annual header:
D14: =EOMONTH($C$2,MOD($C$3-MONTH($C$2),12))
E14: =EOMONTH(D14,12)
Annual revenue:
D15: =SUMIFS($D$20:$AM$20,$D$9:$AM$9,D$14)Format rows 6, 9, and 14 as dates. Excel stores dates as serial numbers, so a formula may display a number until you apply a date format.
Building the annual header
The formula in D14 finds the first fiscal year end that occurs on or after the model start month. MOD converts the month difference into a value from 0 through 11.
If the model starts in January and the fiscal year ends in June, the formula returns 30-Jun-2025. If the model starts in August, it returns 30-Jun-2026. The next annual header is exactly 12 months later:
E14: =EOMONTH(D14,12)Copy this formula across the annual section. Each annual column now has one date that identifies its fiscal year.
The monthly flag uses the same logic. For example:
| Monthly period | Fiscal year-end flag |
|---|---|
| 31-Jul-2024 | 30-Jun-2025 |
| 31-Dec-2024 | 30-Jun-2025 |
| 30-Jun-2025 | 30-Jun-2025 |
| 31-Jul-2025 | 30-Jun-2026 |
Summing monthly values
SUMIFS adds values that meet one or more conditions. In the annual revenue formula:
$D$20:$AM$20is the range to add.$D$9:$AM$9is the range containing fiscal year-end flags.D$14is the current annual header and the condition.
The dollar signs keep the monthly ranges fixed when you copy the formula across. The row dollar sign in D$14 keeps the header row fixed while allowing the annual column to change.
This produces an annual total without hard-coding which monthly columns belong to each year. It also continues to work when the model start date or fiscal year-end month changes.
Common errors
A frequent error is using different-sized ranges in SUMIFS. The sum range and every criteria range must cover the same columns. $D$20:$AM$20 and $D$9:$AM$9 are aligned; $D$20:$AN$20 would not be.
Another error is making the annual header a text label such as "FY25" while the monthly flag contains real dates. The criteria values then do not match. Keep both sides as dates and format them as needed.
Check that the annual total includes every monthly period exactly once. Missing a month usually means the fiscal-year flag formula or the monthly timeline has been altered.
Exercise
With a June fiscal year end, which annual column receives revenue from December 2025, and what formula performs the aggregation?
Show answer
The column headed 30-Jun-2026 receives it. The formula is =SUMIFS($D$20:$AM$20,$D$9:$AM$9,D$14).