Sub topic 16
Common linking errors and how to find them
This chapter assumes you know the six links from the earlier chapters (net income to retained earnings, net income to operating cash flow, working capital, PP&E, financing, ending cash) and the balance check. Here you learn what breaks them and how to trace each break.
Start from the size of the gap
A model that fails the balance check has a gap: assets minus liabilities and equity. The gap's size usually points to the cause.
- A gap equal to one line item means that item was left out or counted once too often.
- A gap equal to twice a line item means its sign is flipped. A flipped item moves the total by its value in the wrong direction, so the error is double the item.
- A gap equal to half a line item is rare. It often means a rate or percentage was applied twice.
- A gap that grows each period means a roll-forward starts from the wrong opening balance.
The usual suspects
| Symptom | Likely cause |
|---|---|
| Gap equals depreciation | Depreciation was deducted but not added back in operating cash flow, or not removed from PP&E |
| Gap equals twice a working capital change | The sign of that change is reversed |
| Gap equals dividends | Dividends reduced cash but not retained earnings, or the reverse |
| Gap equals capex | Capex left cash but did not reach PP&E |
| Cash flow statement ends at a different figure than balance sheet cash | The balance sheet cash is hard-coded instead of linked |
| Gap appears only after a debt repayment | Repayment hit cash but not the debt balance |
The sign rule for working capital catches most errors. An increase in an asset such as receivables uses cash, so it is subtracted. An increase in a liability such as payables keeps cash, so it is added.
Reproducing an error
The code below reuses the worked example's closing balances. Cash is the only figure that changes with operating cash flow, so the gap equals the error in that cash flow.
def gap(cfo):
cash = 100 + cfo - 30 - 29 # opening cash + CFO + CFI + CFF
assets = cash + 50 + (200 + 30 - 20) # cash + receivables + PP&E
claims = 35 + 90 + 150 + (60 + 69 - 19) # payables + debt + stock + retained earnings
return assets - claims
print(gap(69 + 20 - 10 + 5)) # 0 correct
print(gap(69 + 20 + 10 + 5)) # 20 receivables sign flipped (2 x 10)
print(gap(69 + 5 - 10)) # -20 depreciation not added back
print(gap(69 + 20 - 10 - 5)) # -10 payables sign flipped (2 x 5)The output is 0, 20, -20 and -10. Each wrong version leaves a gap you can match against the table.
A repeatable search
- Check the cash link first. Confirm that ending cash on the cash flow statement equals balance sheet cash through a formula, not a typed number.
- Compare the gap to each line item and to twice each line item.
- Roll forward each account separately: opening + movements = closing. Do this for retained earnings, PP&E, and debt.
- Confirm that every balance sheet movement appears exactly once on the cash flow statement, except non-cash items such as depreciation.
- Fix one error at a time and recheck the gap. Two errors can partly cancel, which hides both.
Exercise
A model's closing balance sheet has assets 40 higher than liabilities plus equity. Inventory rose by 20 during the year. What error would explain this, and what should the inventory adjustment in operating cash flow be?
Show answer
The gap is twice the inventory change, so the sign was flipped. Inventory is an asset, and its increase uses cash, so operating cash flow should include -20. The model added +20, which overstated cash by 40.