Sub topic 12
Mid-Month Start Dates and Stub Periods
This chapter assumes you have built the monthly timeline from the earlier chapters. That means one start-date input, EOMONTH-based period ends, and period start, period end and days-in-period rows. It also assumes you can use SUMIFS and the DAY function. The rows below follow the same layout: inputs in column C, the timeline starting in column D, and 40 monthly columns from D to AM.
What a stub period is
A stub period is a first or last period that is shorter than a full month. It appears when the model starts, or an asset or contract begins or ends, part-way through a month.
Suppose the model start date in C2 is 15-Jan-2025. Month ends still fall on the last day of each month, so the first column covers only 15 January to 31 January. That is 17 days, not 31.
| Item | Value |
|---|---|
| Start date (C2) | 15-Jan-2025 |
| First period start | 15-Jan-2025 |
| First period end | 31-Jan-2025 |
| Days in period | 17 |
| Days in the calendar month | 31 |
| Share of the month | 17/31 = 0.548 |
Two decisions follow from this. The timeline must always step on month ends, and the first period start must not be earlier than the start date.
Keep month ends as the anchor
When the start date is mid-month, it is tempting to step the timeline with EDATE from the start date. EDATE keeps the day number, so you would get 15-Feb, 15-Mar and so on. Those columns are not calendar months, and annual roll-ups and fiscal year logic would stop working.
Keep the period end row exactly as before. The first period end is the month end of the start date, and each later end steps one month with EOMONTH:
D6: =EOMONTH($C$2,0)
E6: =EOMONTH(D6,1)Only the period start row changes. It must pick the later of two dates: the first day of the period's calendar month, or the model start date.
Row 5 (period start): D5: =MAX(EOMONTH(D6,-1)+1,$C$2) copy right
Row 6 (period end): D6: =EOMONTH($C$2,0) E6: =EOMONTH(D6,1)
Row 7 (days): D7: =D6-D5+1 copy rightThe start formula uses the same formula in every column. For D5, EOMONTH(D6,-1)+1 is 1-Jan-2025, and MAX picks the later date, 15-Jan-2025. For E5, the calendar month start is 1-Feb-2025, which is later than C2, so MAX returns 1-Feb-2025. That is also D6+1, so the continuity check from the earlier chapter still returns 1.
If C2 is the first of a month, EOMONTH(D6,-1)+1 equals C2, MAX returns either one, and there is no stub. The same formulas handle both cases, so changing the input never requires restructuring the sheet.
Stub flags and pro-rating
Many flows depend on how much of a month is active: rent, subscription revenue, a fixed management fee. Two helper rows make this explicit.
Row 17 (days in calendar month): D17: =DAY(D6)
Row 18 (share of month): D18: =D7/D17
Row 19 (stub flag): D19: =IF(D7<D17,1,0)Because D6 is always a month end, DAY(D6) is the number of days in that month. February in a leap year gives 29, so the share is correct without special handling.
If C5 holds a monthly rent of 12,000 and the timeline is as above, monthly revenue in row 20 is:
D20: =$C$5*D18For the first period, 12,000 × 17/31 = 6,580.65. Every later full month returns 12,000, because the share is 1.
This is an actual-days convention. Some contracts instead use a 30-day month or a 30/360 convention. If so, change the denominator in row 17 to 30. Make it an input so that the choice is visible and can be changed in one place.
Stubs and the annual timeline
The annual roll-up needs no change. SUMIFS adds up whatever monthly columns share the same fiscal year-end date, whether or not the first one is short. With a June fiscal year end in C3, the first annual header is:
D14: =EOMONTH($C$2,MOD($C$3-MONTH($C$2),12))For a start of 15-Jan-2025 this gives 30-Jun-2025. The first fiscal year therefore holds six monthly columns, and its day count is:
D16: =SUMIFS($D$7:$AM$7,$D$9:$AM$9,D$14)The result is 17 + 28 + 31 + 30 + 31 + 30 = 167 days, not 181. This is correct: the model only covers part of that fiscal year. Be careful when you compare the first annual column with later ones, because it covers fewer days. Ratios such as revenue per day or margin are unaffected, but a year-on-year growth rate between year 1 and year 2 would mislead.
Stubs at the end: contracts and assets with their own dates
A contract, lease or asset has its own start and end dates, usually independent of the model start. Here C6 holds the contract start and C7 the contract end. The number of active days in each period is the overlap between two date ranges:
Row 24 (active days): D24: =MAX(0,MIN(D$6,$C$7)-MAX(D$5,$C$6)+1)The formula takes the earlier of the two end dates and the later of the two start dates. If the result is negative, the ranges do not overlap, and MAX returns 0. The pro-rated amount is then:
D25: =$C$5*D24/D$17This one pattern covers all cases. A contract that starts and ends within a single month gives a stub that is both a start stub and an end stub. A contract that ends on a month end gives no end stub. A contract that starts before the model gives full months from the first column.
Do not shorten the period end row to the contract end date. The next EOMONTH would step from the shortened date and the month ends would drift. Keep the timeline fixed and apply the contract dates in separate rows.
Common errors
- Stepping with EDATE from the start date. Period ends become the 15th of each month. Use EOMONTH for the period end row.
- Setting the first period start to the first of the month. A mid-month start would then be treated as a full month, overstating revenue in the first period.
- Hardcoding 30 or 31 as the denominator. Use DAY(period end), so February and leap years are right.
- Using DAY(start date) to work out the stub. This gives the days before the start, not the days remaining. The remaining days are the month end minus the start, plus 1.
- Forgetting that the start date is itself a day in the period. Without the +1 in the day count, the first period would show 16 days instead of 17.
- Comparing the first annual column with full years. It covers fewer days, so growth rates and per-year averages need an adjustment.
Checks for stubs
Add these checks to the integrity block from the previous chapter:
First period starts on the model start: =D5-$C$2 -> must be 0
Total days tie to the calendar span: =SUM(D7:AM7)-(AM6-$C$2+1) -> must be 0
At most one stub in the timeline: =SUM(D19:AM19)<=1 -> must be TRUEThe second check is the strongest. If any period overlaps or leaves a gap, the sum of days no longer equals the number of calendar days between the start date and the final month end.
The third check holds only when the model runs to the end of a month and the start is the only irregular date. If your timeline legitimately ends mid-month, relax it to allow two stubs.
Exercise
The model start date is 20-Feb-2024. Write the period start, period end, days in period and share of the month for the first column. Use the formulas from this chapter.
Show answer
Period end: =EOMONTH(C2,0) gives 29-Feb-2024, because 2024 is a leap year. Period start: =MAX(EOMONTH(D6,-1)+1,$C$2) gives MAX(1-Feb-2024, 20-Feb-2024) = 20-Feb-2024. Days: 29 - 20 + 1 = 10. Days in the calendar month: DAY(29-Feb-2024) = 29. Share of month: 10/29 = 0.345.
Exercise
A contract has C6 = 10-Mar-2025 and C7 = 20-May-2025. What does the active-days formula return for the March, April and May columns, and what do the three values add up to? How do you confirm the total?
Show answer
March: MIN(31-Mar, 20-May) = 31-Mar, MAX(1-Mar, 10-Mar) = 10-Mar, so 31 - 10 + 1 = 22 days. April: MIN(30-Apr, 20-May) = 30-Apr, MAX(1-Apr, 10-Mar) = 1-Apr, so 30 days. May: MIN(31-May, 20-May) = 20-May, MAX(1-May, 10-Mar) = 1-May, so 20 days. The total is 22 + 30 + 20 = 72. Confirm it against the contract span: 20-May-2025 - 10-Mar-2025 + 1 = 72.