Sub topic 9
Fiscal Year Ends and the Annual Timeline
This chapter assumes you can write basic Excel formulas with relative and absolute references, and that you already have a monthly timeline. That timeline has a period start in row 5, a period end in row 6, a day count in row 7 and a period counter in row 8, all driven by one start-date input in C2. Here you add a second input, the fiscal year-end month, and use it to label every month with its fiscal year. You then build an annual timeline from the same logic.
Why the fiscal year needs its own row
A calendar year ends in December. Many companies do not. A retailer might end its year in January, a university in June, and a utility in September. If your model assumes YEAR(date) is the reporting year, every annual total will be wrong for these companies.
The fix is to give each month a fiscal year-end date: the date on which the fiscal year containing that month closes. Once every month carries that date, two things become simple:
- Labelling the fiscal year is one
YEARfunction. - Annual totals are a
SUMIFSthat matches monthly rows to an annual column by that date (the next chapter covers this in detail).
The only new input is the fiscal year-end month number, a whole number from 1 to 12 in C3. For a June year end, C3 is 6.
The fiscal year-end formula
Place this in D9 and copy it across:
Inputs: C3 = fiscal year-end month number (e.g. 6 for June)
Row 8 (period counter): D8: =1 E8: =D8+1
Row 9 (fiscal year end): D9: =EOMONTH(D6,MOD($C$3-MONTH(D6),12))
Row 10 (fiscal year): D10: =YEAR(D9)Read the formula from the inside out.
MONTH(D6)is the calendar month number of the period end.$C$3-MONTH(D6)is how many months you must move forward to reach the fiscal year-end month. This is negative when the current month is past the year-end month.MOD(..., 12)wraps a negative number into the range 0 to 11. In Excel,MODreturns a result with the same sign as the divisor, soMOD(-1,12)is 11, not -1. A result of 0 means the month is itself the year-end month.EOMONTH(D6, n)moves the period end forward by that many months and returns the last day of the target month.
Because D6 is already a month end, the result is a clean month-end date. The formula never needs to know whether the target month has 28, 30 or 31 days.
Worked example: June year end
With C3 = 6:
| Period end | MONTH | MOD(6 - MONTH, 12) | Fiscal year-end date | Fiscal year |
|---|---|---|---|---|
| 31-Jan-2025 | 1 | 5 | 30-Jun-2025 | 2025 |
| 30-Jun-2025 | 6 | 0 | 30-Jun-2025 | 2025 |
| 31-Jul-2025 | 7 | 11 | 30-Jun-2026 | 2026 |
| 31-Dec-2025 | 12 | 6 | 30-Jun-2026 | 2026 |
July is the first month of the next fiscal year, so it jumps forward 11 months. June maps to itself because the offset is 0.
Other year-end months
The same formula works for every value of C3, which is the point of writing it once.
C3 = 12gives a calendar year.MOD(12-MONTH,12)moves each month forward to December of the same year.C3 = 3(March) gives April 2025 an offset ofMOD(3-4,12) = 11, so it lands in March 2026 and belongs to fiscal year 2026.
The labelling convention
YEAR(D9) labels a fiscal year by the calendar year in which it ends. A year running July 2025 to June 2026 is "FY2026". This is the most common convention, but not universal. Some companies label by the year in which the fiscal year starts. If your client does, change only row 10, for example =YEAR(D9)-1. Keep row 9 as the date, because the date is what ties months to annual columns. Document the convention next to the input so a reviewer does not have to guess.
An alternative that hides the date
You could compute the label directly:
=YEAR(D6)+(MONTH(D6)>$C$3)This gives the same fiscal year number, since a month after the year-end month belongs to the next year. It is shorter, but it gives you only a number. The date version gives you both a label and a key that matches the annual header row exactly. For that reason the date version is the better choice for a model that rolls up with SUMIFS.
Building the annual timeline
The annual timeline is a separate block of columns. Each column represents one fiscal year and carries that year's end date as its header.
Annual header (row 14): D14: =EOMONTH(C2,MOD($C$3-MONTH(C2),12)) E14: =EOMONTH(D14,12)
Annual revenue (row 15): D15: =SUMIFS($D$20:$AM$20,$D$9:$AM$9,D$14)
Row 20 holds monthly revenue; row 9 holds each month's fiscal year-end date.The first column uses the same MOD and EOMONTH logic as row 9, but applied to the model start date C2. It finds the first fiscal year end on or after the start. Every later column steps forward 12 months from the previous header.
Stepping with EOMONTH(D14,12) is safe even when the year-end month is February. Each header is already a month end, and EOMONTH returns the real last day of the target month. From 28-Feb-2027 it gives 29-Feb-2028, as shown in the spine's drift example, whereas a chained EDATE would give 28-Feb-2028. The annual header must be an exact month end, because SUMIFS compares it for equality with the dates in row 9.
A worked layout
Take C2 = 15-Jan-2025, C3 = 6 and 36 monthly columns in D:AM, so the model runs January 2025 to December 2027.
| Annual column | Header (fiscal year end) | Fiscal year | Months of the model inside it |
|---|---|---|---|
| D | 30-Jun-2025 | 2025 | 6 (Jan to Jun 2025) |
| E | 30-Jun-2026 | 2026 | 12 |
| F | 30-Jun-2027 | 2027 | 12 |
| G | 30-Jun-2028 | 2028 | 6 (Jul to Dec 2027) |
You need four annual columns, not three. The model starts and ends mid fiscal year, so the first and last annual columns are partial years. A quick way to see how much of each year is covered is a row that counts the months:
Months in model (row 16): D16: =COUNTIFS($D$9:$AM$9,D$14)A full year shows 12. Anything lower is a partial year. Label those columns clearly, because a partial year's total is not comparable with a full year's.
How many annual columns do you need?
The number of annual columns is the number of distinct fiscal year-end dates in row 9. For n monthly columns, you need at most ceil(n / 12) + 1 annual columns. The extra one covers the case where the model starts and ends mid-year. Building one spare annual column does no harm, because it will simply sum to zero.
Common errors
- Hardcoding the year-end month inside the formula. Writing
6instead of$C$3works until the model is reused for a client with a different year end. Keep the input in one cell and anchor it with$. - Dropping the anchor on
$C$3. Without the dollar signs, the reference shifts as you copy right and the result is wrong from the second column on. - Entering a year-end month outside 1 to 12.
MODdoes not reject a 13 or a 0 and returns a plausible-looking but wrong date. Add data validation toC3that allows whole numbers from 1 to 12 only. - Applying
MODto a date instead of a month number.MODshould receive month numbers. The date itself is only passed toEOMONTH. - Formatting row 9 as a number.
EOMONTHreturns a serial number. If row 9 or row 14 shows 45838 instead of 30-Jun-2025, change the cell format to a date format. The values themselves are still correct. - Starting the annual block with the wrong anchor. Using
C2for the first header gives the first fiscal year end on or after the start date. If you used the first period's end date instead, you would get the same answer, but only because both fall in the same month. Anchoring on the input makes the dependency visible.
Check your work
Before using the annual block, test it against the monthly block. The full set of timeline checks comes later in this tutorial, but this one belongs here:
Annual tie-out: =SUM(D20:AM20)-SUM(D15:G15) -> must be 0If the result is not zero, an annual header does not match any month's fiscal year-end date, or a month falls outside the annual range. Try changing C3 to each value from 1 to 12 and confirm the tie-out stays at zero. That test exercises the MOD wrap-around in both directions.
Exercise
A model starts on 10-Sep-2025 (C2) with a fiscal year-end month of 3 (March) in C3. What does the first annual header formula =EOMONTH(C2,MOD($C$3-MONTH(C2),12)) return, and what is the fiscal year label of the monthly period ending 30-Apr-2026 using the row 9 and row 10 formulas?
Show answer
For the header, MONTH(C2) is 9, so MOD(3-9,12) = MOD(-6,12) = 6, and EOMONTH(10-Sep-2025, 6) = 31-Mar-2026. For the monthly period ending 30-Apr-2026, MOD(3-4,12) = MOD(-1,12) = 11, so EOMONTH(30-Apr-2026, 11) = 31-Mar-2027, and YEAR of that date gives fiscal year 2027. April starts the fiscal year that ends in March 2027.
Exercise
Your annual SUMIFS returns 0 for the second annual column only. The monthly rows look correct and the first column works. Name two likely causes and how you would confirm each.
Show answer
First, the header in that column may not be an exact month end, for example if it was typed in or built with EDATE from a clamped date. Confirm it with =E14=EOMONTH(E14,0), which should be TRUE. Second, the dates in row 9 may not reach that year, for example because the monthly timeline is too short. Confirm it with =COUNTIFS($D$9:$AM$9,E$14), which would be 0. A third possibility is that row 14 holds text rather than a date, which you can check with ISNUMBER.
Exercise
Write a formula for row 10 that labels fiscal years by their start year instead of their end year, so that July 2025 to June 2026 is labelled 2025. Which row should stay unchanged, and why?
Show answer
Use =YEAR(D9)-1 in D10 (for a year end in June, the year starts in the previous calendar year relative to the end date). Row 9 should stay unchanged because it holds the fiscal year-end date, which is the key that SUMIFS matches against the annual header row. Only the display label changes, not the key.