Sub topic 12
Mid-month start dates and stub periods
Assume you know basic Excel formulas, relative and absolute references, and a column-based model where periods run from left to right. This chapter uses valid Excel dates, EOMONTH, EDATE, and SUMIFS.
A stub period is a period shorter or longer than the model's normal period. A mid-month model start creates a first stub because the model begins partway through a calendar month. For example, a model that starts on 15-Jan-2025 can use 15-Jan-2025 through 31-Jan-2025 as its first period. February then becomes a normal monthly period.
Build the first stub
Put the model start date in C2. The first period starts on that exact date, not on the first day of its month.
Use these rows:
| Row | Meaning | Formula in first monthly column, D |
|---|---|---|
| 5 | Period start | `=$C$2` |
| 6 | Period end | `=EOMONTH($C$2,0)` |
| 7 | Days in period | `=D6-D5+1` |
For a start date of 15-Jan-2025, the results are:
- Period start: 15-Jan-2025
- Period end: 31-Jan-2025
- Days in period: 17
The +1 counts both the start date and the end date. Without it, Excel calculates the difference between the dates but excludes one boundary day.
The next period starts on the day after the previous period ends:
E5: =D6+1
E6: =EOMONTH(E5,0)
E7: =E6-E5+1Copy these formulas across the monthly timeline. This produces 1-Feb-2025 through 28-Feb-2025 for the second period, followed by 1-Mar-2025 through 31-Mar-2025.
Handle a final stub
A model may also have a fixed end date in C5. If the end date is 15-Jun-2027, the final period should not automatically run to 30-Jun-2027. Cap the normal month-end at the model end date.
For a period starting in D5, use:
D6: =MIN(EOMONTH(D5,0),$C$5)
D7: =D6-D5+1
E5: =D6+1If the final period starts on 1-Jun-2027, D6 becomes 15-Jun-2027. This creates a final stub with 15 days. The MIN function chooses the earlier of the normal month-end and the model end date.
Do not create periods after the end date. A practical flag is:
=AND(D5<=$C$5,D6>=D5)Use the flag to include a column only when its start date is on or before the model end date.
Allocate events to stub periods
A dated event belongs in the period whose start and end contain the event date. If the event date is in F4, test it against the period dates:
=AND(F4>=D5,F4<=D6)This works for a payment, drawdown, maturity, or anniversary. It also prevents an event on 31-Jan from being placed in the February period.
For a daily accrual, use the actual days in each period. A monthly amount based on an annual rate can therefore be prorated:
=Principal*AnnualRate*D7/DaysInYearChoose the denominator according to the model convention, such as 365 or 366. Keep that convention consistent across all periods.
Check the timeline
Add checks beside or below the timeline:
Continuity: =E5-D6
End date: =D6<= $C$5
Days: =D7>0Every continuity result after the first period must equal 1. Every days result must be TRUE. These checks detect gaps, overlaps, and reversed dates.
Exercise
With a model start date of 20-Feb-2025 and an end date of 10-Apr-2025, what are the three period ranges and their inclusive day counts?
Show answer
20-Feb-2025 to 28-Feb-2025 has 9 days, 1-Mar-2025 to 31-Mar-2025 has 31 days, and 1-Apr-2025 to 10-Apr-2025 has 10 days.