Sub topic 12
Building Integrity Checks into the Model
Assume you can write basic Excel formulas, use absolute and relative references, navigate worksheets and named ranges, and recognize the income statement, balance sheet, and cash flow statement. This chapter focuses on checks that make model problems visible without manually inspecting every formula.
Why integrity checks matter
An integrity check is a formula that tests whether a model obeys a relationship that should always be true. Checks do not prove that the assumptions are correct. They show when the model's structure or calculations have become inconsistent.
A useful check has three properties:
- It tests a specific accounting or modeling rule.
- It returns a simple result, such as
0,OK, orCHECK. - It is visible near the top of the model or on a dedicated checks section.
Common checks include:
| Check | Expected result | What a failure may indicate |
|---|---|---|
| Balance sheet | 0 | Missing entry, sign error, or broken link |
| Cash roll-forward | 0 | Incorrect cash flow or ending cash formula |
| Error count | 0 | An unresolved Excel error value |
Balance sheet check
The accounting equation is:
Assets = Liabilities + Equity
Create a difference rather than comparing the two sides directly. A result of zero means the statement balances.
=ROUND(Total_Assets - (Total_Liabilities + Total_Equity), 2)ROUND prevents tiny floating-point differences from producing a false failure. Do not round the underlying financial statements just to make this check pass. If the result is not zero, inspect the period where the difference first appears. Then trace the affected line items back to their precedents.
Cash roll-forward check
The cash flow statement should reconcile opening cash, the period's change in cash, and ending cash:
Opening Cash + Change in Cash = Ending Cash
If the balance sheet contains ending cash and the cash flow statement contains the calculated ending cash, compare them.
=ROUND(BS_Ending_Cash - CF_Ending_Cash, 2)A cash check can also compare the cash flow change with the difference between ending and opening cash:
=ROUND((CF_Ending_Cash - CF_Opening_Cash) - CF_Net_Change, 2)A failed cash check often results from an omitted investing or financing item, a sign convention error, or a link to the wrong period.
Count unresolved errors
A model can balance while still containing errors in unused or supporting areas. Count error values across the model range.
=SUMPRODUCT(--ISERROR(C5:N80))The expected result is zero. ISERROR detects values such as #REF!, #DIV/0!, and #VALUE!. Keep this range broad enough to cover the model, but exclude notes and intentionally displayed error examples.
Combine checks into one status
Use separate cells for each check, then create a master status cell. This gives reviewers one immediate signal while preserving detail for diagnosis.
=IF(AND(Check_Balance=0, Check_Cash=0, Check_Errors=0), "OK", "CHECK MODEL")Do not replace the individual checks with only the master status. A reviewer needs to know which condition failed.
Review workflow
Place checks beside the relevant statements and repeat them in a visible control panel. Then review them in this order:
- Confirm that the master status is
OK. - Identify the first period with a failed balance or cash check.
- Trace the failed cell's precedents and dependents.
- Resolve any error values before judging the accounting checks.
- Record the cause, affected cells, correction, and reviewer in a findings log.
Exercise
The balance check returns 0, the cash check returns 125, and the error count returns 0. What should you investigate first?
Show answer
Investigate the cash flow reconciliation. Compare opening cash, net change in cash, and ending cash, then trace the first period where the cash check becomes 125.