Sub topic 9
Timelines and Flags That Every Calculation Shares
Assume you are comfortable building multi-sheet Excel workbooks, using relative and absolute references, and working with basic financial statements. You should also know IF, SUM, AND, ABS, and EOMONTH.
A financial model usually runs across columns, with one column for each month, quarter, or year. Every calculation must use the same definition of each period. A timeline is the set of dates and period labels that defines those columns. A flag is a value, usually 1 or 0, that tells a formula whether a condition applies in a particular period.
Build one shared timeline
Keep period dates in a dedicated timeline section. At minimum, include:
| Timeline item | Purpose |
|---|---|
| Period start date | First day included in the column |
| Period end date | Last day included in the column |
| Period label | Human-readable label, such as `Jan-27` |
| First-period flag | Identifies the opening model period |
Use the same period boundaries for operating forecasts, debt schedules, tax calculations, and financial statements. If one schedule uses month-end dates while another uses month-start dates, formulas can appear correct while excluding or including the wrong activity.
A calculation should normally compare dates with the timeline rather than contain its own date assumptions. For example, suppose Inputs!D8 contains the operations start date and Inputs!D9 contains the operations end date:
F10: =IF(AND(F$6>=Inputs!$D$8,F$7<=Inputs!$D$9),1,0)
' Row 6: Period start date
' Row 7: Period end date
' Inputs!D8: Operations start date
' Inputs!D9: Operations end dateThis flag equals 1 when the model period is fully inside the operating period. It equals 0 otherwise. The references to rows 6 and 7 move across columns, while the input references remain fixed.
Use flags to simplify calculations
Once a flag exists, downstream rows can multiply by it:
F22: =F20*F21*F10
' Row 20: Units sold
' Row 21: Price per unit
' Row 10: Operations-active flagThe formula stays identical across the row. If the operations dates change, the flag changes and the calculation responds without editing every forecast formula.
Choose the flag rule deliberately. A project that operates for only part of a month may need an overlap flag rather than a full-period flag. An overlap test asks whether the period ends after the activity starts and begins before the activity ends. If partial periods matter, add a day-count or fraction-of-period row instead of treating the period as simply active or inactive.
Avoid timeline errors
Check that:
- all schedules use the same number of periods;
- start dates do not come after end dates;
- period starts and ends do not overlap or leave gaps;
- the first-period flag appears in exactly one column;
- inactive periods produce zero or a clearly defined non-operating result;
- partial periods use an explicit convention.
Exercise
A project starts on 15 March and ends on 10 May. Should a full-period flag for April equal 1, and should a full-period flag for March equal 1?
Show answer
April equals 1 because it is fully inside the operating dates. March equals 0 because the project was not active for the whole month. Use an overlap or day-count rule if March activity must be included.