Sub topic 16
Common linking errors and how to find them
This chapter assumes you know the six links covered earlier in the tutorial: net income into retained earnings, net income into operating cash flow, depreciation add-back, working capital changes, capex and PP&E, and debt, equity and dividends. It also assumes you can read the one-year example, where the closing balance sheet balances at 385. Here you will learn which mistakes break the balance, what each one looks like, and how to find it quickly.
Why errors show up as an imbalance
Every link moves the same amount into two places. A dividend of 19 reduces cash and reduces retained earnings. If you record only one side, assets and liabilities plus equity no longer match. The size of the gap is the main clue, because each error leaves a recognizable fingerprint.
Not every error causes an imbalance. If you misclassify a flow, such as putting capex under operating activities, the balance sheet still balances, but the cash flow subtotals are wrong. The balance check is necessary but not sufficient.
The usual suspects
| Error | What goes wrong | Imbalance in the example |
|---|---|---|
| Depreciation not added back | Operating cash flow is too low, so cash is too low | Assets short by 20 |
| Working capital sign flipped | An increase in receivables is added instead of subtracted | Assets too high by 20 (twice the 10 change) |
| Capex not added to PP&E | Cash falls by 30 but PP&E does not rise | Assets short by 30 |
| Dividends not taken out of retained earnings | Cash falls by 19 but equity does not | Equity too high by 19 |
| Depreciation not deducted from PP&E | The expense reduces income but the asset stays whole | Assets too high by 20 |
| Debt repayment not reducing the debt balance | Cash falls by 10 but the liability stays | Liabilities too high by 10 |
| Cash on the balance sheet typed in, not linked | Cash ignores the cash flow statement | Any amount |
The sign of the gap tells you which side is wrong. Define the gap as assets minus liabilities and equity. A negative gap means assets are too low or the right side is too high.
Reproducing the errors in code
The script below rebuilds the worked example and lets you switch on one flaw at a time. It prints the gap for each flaw, so you can see the fingerprints from the table.
def build(flaws=()):
opening = {"cash": 100, "ar": 40, "ppe": 200,
"ap": 30, "debt": 100, "stock": 150, "re": 60}
revenue, cash_opex, depreciation = 500, 380, 20
interest = opening["debt"] * 0.08
pretax = revenue - cash_opex - depreciation - interest
net_income = pretax * 0.75
capex, dividends, debt_repaid = 30, 19, 10
end_ar, end_ap = 50, 35
addback = 0 if "no_addback" in flaws else depreciation
ar_sign = 1 if "ar_sign" in flaws else -1
cfo = (net_income + addback
+ ar_sign * (end_ar - opening["ar"])
+ (end_ap - opening["ap"]))
cff = -debt_repaid - dividends
end_cash = opening["cash"] + cfo - capex + cff
ppe = (opening["ppe"]
+ (0 if "capex_missing" in flaws else capex)
- depreciation)
re = (opening["re"] + net_income
- (0 if "div_missing" in flaws else dividends))
assets = end_cash + end_ar + ppe
liab_equity = (end_ap + opening["debt"] - debt_repaid
+ opening["stock"] + re)
return assets - liab_equity
for name in [(), ("no_addback",), ("ar_sign",),
("capex_missing",), ("div_missing",)]:
label = name[0] if name else "correct model"
print(f"{label:15} gap = {build(name):+.0f}")The output is +0 for the correct model, then -20, +20, -30 and -19 for the four flaws.
A repeatable search procedure
Do not hunt randomly. Narrow the problem in stages.
- Confirm the opening balance sheet balances. An error here is carried into every later year.
- Check that ending cash on the cash flow statement equals cash on the balance sheet. If they differ, the problem is in the cash flow statement or the cash link.
- Compute the gap and look at it. Try the gap, half the gap, and each of its digits against known amounts such as depreciation, capex, dividends and working capital changes.
- Roll forward each balance sheet account separately: opening balance plus additions minus reductions equals closing balance. Compare each roll-forward to the matching cash flow line.
- Fix one thing at a time and re-check, so you know which change helped.
Clues from the size of the gap
- The gap equals one item exactly. Look for a one-sided entry for that item, such as dividends or capex missing from one statement.
- The gap is exactly twice a change. This points to a sign error. The wrong sign moves cash by the change in the wrong direction, so the error is double the change.
- The gap is a round number unrelated to any item. Suspect a hardcoded value or a plug typed over a formula.
- The gap grows each year. A recurring one-sided entry, or an opening balance that does not tie to the prior closing balance.
- There are two gaps that offset. The model balances by luck. This is why checking cash and each roll-forward matters even when the total balances.
Errors that the balance check cannot catch
These keep the books balanced but give wrong answers.
- Placing a flow in the wrong section, for example capex in operating activities. Both sections sum to the same cash, but free cash flow and operating cash flow are misstated.
- Using the wrong sign on both sides of an entry at once.
- Mixing up a gross and a net figure, such as showing net PP&E additions while also adding back full depreciation.
- Treating interest or tax paid differently from the expense without a matching balance sheet account.
For these, reasonableness tests help. Operating cash flow should usually be near net income plus depreciation, unless working capital moved sharply. In the example, 69 + 20 = 89 against 84, and the difference of 5 is the net working capital build (10 in receivables less 5 in payables).
Exercise
A model shows net income 69, depreciation 20, receivables up 10, payables up 5, capex 30, debt repayment 10 and dividends 19, with opening cash of 100. The modeler accidentally subtracts the payables increase instead of adding it. By how much does the balance sheet gap move, and in which direction? What clue would suggest this error?
Show answer
Correct payables effect is +5, but the model uses -5, so operating cash flow is 10 too low. Ending cash is 115 instead of 125, so assets are 10 short and the gap is -10. The gap is twice the 5 payables change, which signals a sign error on that working capital item.