Sub topic 10
Check Cells and Error Flags
Assume you already know cell references, formulas, conditional formatting, and the basic relationships among the income statement, balance sheet, and cash flow statement. This chapter focuses on making model errors visible before a reviewer finds them.
Why checks matter
A check cell is a formula that tests whether a model relationship is true. It should return a clear result, such as 0 for pass and 1 for error. An error flag is the visible formatting or message that draws attention to a failed check.
Checks do not fix a model. They identify where an assumption, formula, sign, or link may be wrong. A good check is:
- Independent enough to catch a broken formula.
- Easy to interpret without opening the formula.
- Present across every relevant forecast period.
- Prominent without covering the whole workbook in bright colours.
The most important check is the balance sheet check. Total assets must equal total liabilities plus equity. A difference of a few cents may result from rounding, so define a small tolerance when the model uses rounded values.
Common check formulas
Suppose row 40 contains total assets and row 55 contains total liabilities plus equity. A simple check returns zero when the statement balances:
=IF(ABS(D40-D55)<0.001,0,1)The ABS function removes the direction of the difference. The tolerance of 0.001 treats very small rounding differences as passing. Choose a tolerance that matches the model's units. If the model is in millions, a larger tolerance may be appropriate.
Other useful checks include:
| Check | Example formula | Pass condition |
|---|---|---|
| Balance sheet | `=IF(ABS(D40-D55)<0.001,0,1)` | Assets equal liabilities plus equity |
| Cash roll-forward | `=IF(ABS(D20-(D18+D19))<0.001,0,1)` | Ending cash equals beginning cash plus change |
| Required input | `=IF(C5="",1,0)` | A required assumption is not blank |
| Debt balance | `=IF(D30<0,1,0)` | Debt does not become negative |
Place check rows near the statement or on a dedicated checks sheet. Keep the same row and column structure across periods so a reviewer can scan horizontally.
Flags and conditional formatting
A check cell should not rely on its number alone. Apply conditional formatting so a value of 1 receives a red fill or red font. A value of 0 can use a neutral or green style. You can also add a summary cell on the cover sheet:
=SUM(D60:N60)If every period passes, the summary returns 0. Any positive result means that at least one period has an error. A text status is often clearer for a cover sheet:
=IF(SUM(D60:N60)=0,"OK","ERROR - REVIEW CHECKS")Do not hide failed checks with white font, tiny text, or a formula that always returns zero. A check that cannot be seen cannot protect the model.
Designing a checks section
Group checks by purpose:
- Statement integrity: balance sheet and cash roll-forward.
- Operating logic: units sold, price, and revenue relationships.
- Assumptions: required inputs, valid percentages, and permitted ranges.
- Presentation: missing periods, unexpected blanks, and inconsistent formulas.
Use a status column that explains the result. For example, a row can show 0, while an adjacent label says Balance sheet. Keep check cells in the model's normal calculation colour, but use fills or conditional formatting for their status. This prevents the warning colour from being confused with an input or a hardcoded value.
Auditing existing checks
When reviewing a model, inspect whether checks cover all forecast periods. Look for formulas copied with incorrect references, hardcoded zeroes, inconsistent tolerances, and checks that point to presentation totals rather than underlying calculations. Temporarily change a test input and confirm that the relevant check reacts. Restore the input after the test.
A reliable model makes failures obvious, local, and actionable. The reviewer should know which relationship failed, in which period, and where to investigate.
Exercise
A balance sheet check returns 1 in 2028, but 0 in every other year. What should you inspect first?
Show answer
Inspect the 2028 formulas for total assets, liabilities, and equity, then review any 2028-only assumptions, links, sign changes, or missing roll-forwards.