Sub topic 14
Checks that keep the schedule honest
This chapter assumes you have built a depreciation waterfall and a PP&E rollforward, and that you know how the schedule feeds the three statements. You should be comfortable with absolute and relative references and with the sign conventions of a cash flow statement. Here you add the tests that tell you whether those links are working.
Why the schedule needs its own checks
A fixed asset schedule can be wrong while the balance sheet still balances. Suppose depreciation on the income statement is 5 too high. If the same wrong number is added back on the cash flow statement and subtracted from net PP&E, every total still ties. The only symptom is that the schedule disagrees with the waterfall, and only a check that compares those two will show it.
A good check has three properties:
- It compares two numbers that were calculated independently.
- It returns 0 when the numbers agree and 1 when they do not, so checks can be added up.
- It is visible. A failing check shows up in a master cell at the top of the model, not buried on a back sheet.
The checks to build
The schedule needs one group of checks inside the schedule and one group where it meets the statements.
| Check | Test | What it catches |
|---|---|---|
| Rollforward arithmetic | Closing = opening + capex − depreciation − disposals at NBV | A broken or hardcoded closing cell |
| Opening equals prior closing | Opening NBV in year t equals closing in year t−1 | A hardcoded opening balance or a column offset error |
| First opening balance | Year 1 opening equals the last actual balance sheet PP&E | A disconnect between history and forecast |
| Waterfall total | Depreciation in the rollforward equals the column sum of the waterfall | A formula that skips a vintage or an old-asset line |
| Income statement link | Income statement depreciation equals the schedule | A stale link or a manual override |
| Balance sheet link | Balance sheet net PP&E equals the schedule closing NBV | Same, on the balance sheet |
| Cash flow link | Cash flow capex equals schedule capex, and the depreciation add-back equals schedule depreciation | A sign error or a missing disposal line |
| Balance check | Assets − liabilities − equity = 0 | Any one-sided entry |
| Non-negative NBV | Closing NBV is never below zero | Over-depreciation or a disposal larger than the asset base |
| Depreciation cap | Cumulative depreciation on a vintage never exceeds cost less salvage | A life or a timing convention that depreciates past the end of life |
The last two are bounds checks. They test whether a number is plausible, not whether two numbers match, so they find errors that the matching checks cannot.
Writing the checks in a spreadsheet
Assume the rollforward sits in rows 10 to 14 with years across columns D to H: row 10 is opening NBV, row 11 capex, row 12 depreciation, row 13 disposals at NBV and row 14 closing NBV. Put the check flags in rows 16 to 20.
Rollforward arithmetic (D16):
=IF(ABS(D14-(D10+D11-D12-D13))<0.005,0,1)
Opening equals prior closing (E17, copied right):
=IF(ABS(E10-D14)<0.005,0,1)
Balance sheet link (D18), assuming net PP&E is in row 40 of the Balance Sheet sheet:
=IF(ABS('Balance Sheet'!D40-D14)<0.005,0,1)
Non-negative NBV (D19):
=IF(D14<-0.005,1,0)
Schedule master check (C21):
=IF(SUM(D16:H19)=0,"OK","ERROR")Three points about these formulas:
- Test with
ABS(...)<tolerance, not=. Floating-point arithmetic can leave 0.0000000001 differences, and a strict equality test would fail on them. - Keep the tolerance small and fixed in one input cell. A tolerance of 1 in a model denominated in millions hides errors of 1,000,000.
- Do not write a check whose two sides share the same source.
=IF(D14=D14,0,1)can never fail. A check of the balance sheet link must reference the balance sheet cell, not the cell the balance sheet itself points to.
The same checks in code
Writing the checks in code is a useful way to test your understanding, and many teams use scripts to audit a model exported to a data file. The example reuses the capex and depreciation figures from the earlier chapters and injects one error.
TOL = 0.005
def run_checks(opening, capex, dep, disposal_nbv, closing, bs_ppe, is_dep):
errors = []
prior = opening
for t in range(len(capex)):
expected = prior + capex[t] - dep[t] - disposal_nbv[t]
if abs(closing[t] - expected) > TOL:
errors.append(f"t={t}: closing {closing[t]} but rollforward gives {expected}")
if abs(bs_ppe[t] - closing[t]) > TOL:
errors.append(f"t={t}: balance sheet PP&E {bs_ppe[t]} differs from schedule {closing[t]}")
if abs(is_dep[t] - dep[t]) > TOL:
errors.append(f"t={t}: income statement depreciation {is_dep[t]} differs from schedule {dep[t]}")
if closing[t] < -TOL:
errors.append(f"t={t}: negative net book value {closing[t]}")
prior = closing[t]
return errors
capex = [100.0, 50.0, 80.0, 60.0, 70.0]
dep = [25.0, 37.5, 57.5, 72.5, 65.0]
disposals = [0.0] * 5
closing = [75.0, 87.5, 110.0, 97.5, 102.5]
print(run_checks(0.0, capex, dep, disposals, closing, closing[:], dep[:]))
bad_bs = [75.0, 87.5, 111.0, 97.5, 102.5] # one hardcoded balance sheet value
print(run_checks(0.0, capex, dep, disposals, closing, bad_bs, dep[:]))The first call prints []. The second prints one message: t=2: balance sheet PP&E 111.0 differs from schedule 110.0. Note that each message names the period and both numbers. A flag that says only "error" forces you to hunt for the cause.
Checking the waterfall itself
The rollforward checks assume the waterfall is right. To test the waterfall, use a property that must hold when the horizon is long enough: each vintage, summed over its whole life, depreciates by exactly cost less salvage. For a vintage, that gives a cap test:
def vintage_totals(capex, life, horizon):
totals = []
for v, spend in enumerate(capex):
total = sum(spend / life for t in range(v, min(v + life, horizon)))
totals.append(total)
return totals
capex = [100.0, 50.0, 80.0, 60.0, 70.0]
print(vintage_totals(capex, life=4, horizon=20))
# [100.0, 50.0, 80.0, 60.0, 70.0]With a 20-year horizon, every vintage depreciates to its full cost, so the output matches capex. With a five-year horizon, later vintages are only partly depreciated, and that is correct. For this reason, build the cap check as "cumulative depreciation ≤ cost less salvage", not as "equal to". The equality version belongs on a test sheet with an extended horizon.
Common failure modes
- Check passes after a hardcode. Someone types over a formula with its current value. The check passes today and fails when the capex input changes. Run a sensitivity test: change capex by 10% and confirm every flag stays at 0.
- Offset by one column. The first forecast opening balance points to the wrong historical year. The arithmetic check passes because it only tests rows within a column, so you need the first-opening check against the last actual balance sheet.
- Disposals not in the waterfall. The rollforward removes the NBV of a sold asset, but the waterfall keeps depreciating it. Depreciation is overstated and the cap check on that vintage fails, which is the intended signal.
- Sign conventions. Capex is shown negative on the cash flow statement but positive in the schedule. Compare with an explicit sign, such as
=IF(ABS(-CF!D12-D11)<0.005,0,1), and document the convention beside the check. - Checks that are switched off. Wrapping a check in
IFERROR(...,0)turns a broken reference into a pass. Let errors propagate to the master cell.
Presenting the master check
Link the schedule master check to the model's overall check cell, and show it on the cover sheet and at the top of each statement. A reader should learn that the model is broken before reading any numbers. If the model has a scenario switch, test every scenario, because a check that passes in the base case can fail in the downside case when NBV or cash goes negative.
Exercise
A modeler's rollforward check is =IF(D14=D10+D11-D12-D13,0,1) and it returns 1 although the formulas look correct. Name the likely cause and give the corrected formula. Then explain why a check of balance sheet PP&E written as =IF(D14=D14,0,1) is useless.
Show answer
Exact equality on floating-point numbers can fail on tiny rounding differences, such as 110.00000000001 against 110. Use a tolerance: =IF(ABS(D14-(D10+D11-D12-D13))<0.005,0,1). The second formula compares a cell with itself, so it always returns 0. A real link check must compare the balance sheet cell to the schedule's closing NBV, two values calculated in different places.
Exercise
Capex is [100, 50, 80, 60, 70] with a 4-year life, no salvage and full-year convention. In which forecast year does the cumulative depreciation on the first vintage reach its cap, and what does a depreciation cap check report if the model still depreciates that vintage in year 5?
Show answer
Vintage 1 depreciates 25 per year in years 1 to 4, so cumulative depreciation reaches 100, equal to cost, at the end of year 4. If the model still charges 25 in year 5, cumulative depreciation becomes 125 and exceeds cost less salvage (100), so the check flags 1. The same error also drives NBV on that vintage negative.