Sub topic 8
Spotting hardcodes, inconsistencies, and failed checks
This chapter assumes you can read Excel formulas, know the three financial statements, and have already practiced writing specific prompts and asking Copilot to explain formulas. Here you will use Copilot to flag three kinds of problems: typed values where formulas belong, formulas that break a row's pattern, and integrity checks that fail. Copilot gives you leads. You confirm each one with Excel's own tools.
Why these three problems matter
Most review findings in a financial model fall into a small number of families.
- A hardcode is a typed number sitting where a formula should be, or a number buried inside a formula, such as
=D10*1.05. It does not update when inputs change, so the model silently stops responding to its drivers. - An inconsistency is a formula that differs from its neighbors in a row or column that should follow one pattern. A common cause is a copy-paste that missed one cell, or a manual fix that was never carried across.
- A failed check is an integrity test, such as "assets equal liabilities plus equity", that returns FALSE or a non-zero difference.
Copilot can read a sheet quickly and point at cells that look different. It cannot guarantee it has seen every cell, and it can describe a cell wrongly. So treat every finding as a candidate until you have checked it.
The review loop
The loop is the same for all three problem types. Ask a narrow question, get cell addresses, check each address yourself, and record the result.
Finding inconsistent formulas
Ask about one row or column at a time, and name the sheet, the range, and the output you want. A vague request such as "check my model for errors" returns vague answers. This prompt works better:
Review the Revenue row on the Forecast sheet. Tell me whether the formulas in columns D to H follow the same pattern. If any cell differs, give its address and describe the difference.A good reply names a cell, for example "G10 uses a fixed growth rate of 4% while D10:F10 and H10 refer to the growth assumption in row 5." That reply is useful because you can test it.
Open the cell and compare it with its neighbor. FORMULATEXT shows a formula as text, so you can put two formulas side by side:
=FORMULATEXT(E10)Fill this down a helper column next to the row, or place it in a scratch area, and read the results together. To compare in R1C1 style, switch the reference style in Excel's formula options. In R1C1 notation, consistent formulas look identical across a row, which makes an odd one easy to see.
What Copilot tends to miss or overstate
- Legitimate pattern breaks. The first forecast column often differs from the rest because it links to the last actual period. Copilot may flag this as an error. Decide using your knowledge of the model.
- Differences that look small. A reference shifted by one row, such as
D$5againstD$6, is easy to overlook in a long formula. - Hidden rows, hidden columns, and other sheets. If you did not point Copilot at them, you cannot assume they were reviewed.
- Large ranges. On a wide or long sheet, Copilot may summarize instead of inspecting each cell. Ask for narrower ranges when the answer feels generic.
Finding hardcodes
Typed values appear in two places. The first is a whole cell that holds a number where its row holds formulas. The second is a constant inside a formula. Ask for both separately:
On the Forecast sheet, list any cells in the projection columns that contain typed numbers instead of formulas. Then list any formulas that include numeric constants other than 0, 1, or 12. Give the cell address for each.Telling Copilot which constants to ignore reduces noise. Without that instruction, it may list every *12 in a monthly model.
Confirming a hardcode with a formula
Do not rely on the visual look of a cell. Count the typed values directly. This formula returns the number of cells in D10:H10 that are not formulas:
=SUMPRODUCT(--NOT(ISFORMULA(D10:H10)))If the range should be all formulas, the answer should be 0. A result of 1 means one cell is typed. To find which one, apply a conditional formatting rule with =NOT(ISFORMULA(D10)) to the range, or use Home > Find & Select > Go To Special > Constants. Constants selected this way inside a formula row are your hardcode candidates.
ISFORMULA tests whole cells. It cannot see a constant embedded in a formula, such as =D10*1.05. For that case, use FORMULATEXT and read the text, or use Evaluate Formula to step through the calculation.
Hardcodes that are acceptable
Not every typed number is a defect. Inputs on an assumptions sheet are supposed to be typed. A review should separate three cases:
| Case | Example | Verdict |
|---|---|---|
| Typed input in an input area | Growth rate in Assumptions!C5 | Expected |
| Typed value in a calculation row | 1,250,000 in Forecast!G10 | Likely defect |
| Constant inside a formula | `=D10*1.05` | Move the constant to an input cell |
Tell Copilot which sheet holds the inputs so it does not report them all as findings.
Failed integrity checks
Well-built models include checks: tests that return TRUE, or zero, when the model is internally consistent. The balance sheet check is the standard one. If B20 is total assets, B30 is total liabilities, and B40 is total equity:
=ROUND(B20-(B30+B40),2)=0This returns TRUE when the balance sheet balances to the cent. Rounding avoids false alarms from floating-point noise.
A prompt for the check area could be:
List every integrity check on the Checks sheet. For each one, give the cell address, what it tests, and its current result. Tell me which checks are failing.Then ask a second question: "Which checks are missing?" Copilot may suggest a cash reconciliation, a retained earnings roll-forward, or a sum-of-segments check. Treat the suggestions as ideas to evaluate, not as findings.
A passing check is not proof
A check that shows TRUE can still be wrong. Look for these cases:
- The check compares a cell to itself, so it always passes.
- The check was overwritten with a typed
TRUEor0. RunISFORMULAon the check cell. - Tolerance is too loose, for example
ABS(x)<1000. - The check covers only one period, though the model has ten.
Copilot may report "all checks pass" after reading the displayed values. Open the check formulas and read them.
Chasing a failed check
When a check fails, the cause is often upstream. The usual sequence is:
- Note the size of the difference. A difference equal to one line item, such as depreciation, points to that item.
- Find the first period where the check fails. Ask Copilot: "In which column does the balance check first return a non-zero difference?"
- Use Trace Precedents on the check cell, then on the cash and retained earnings lines for that column.
- Compare the failing column's formulas with the column before it.
Copilot helps with step 2 and with suggesting where to look. Steps 3 and 4 are your own verification.
Cross-checking a figure Copilot cites
When Copilot quotes a valuation figure, recalculate it independently. If B2 is the discount rate, C10:G10 are cash flows for periods 1 to 5, and B10 is the period-0 outflow:
=NPV(B2,C10:G10)+B10NPV discounts its first value by one full period, so the period-0 amount is added outside the function. If you put B10 inside the range, the result will differ, and a mismatch between your figure and Copilot's could come from either side. Check the setup of both before deciding which is wrong.
A reporting format for findings
For each candidate, keep a short record. A table is enough:
| Cell | Type | Copilot said | Your check | Status |
|---|---|---|---|---|
| Forecast!G10 | Hardcode | Typed value in a formula row | `ISFORMULA` returned FALSE | Confirmed |
| Forecast!D10 | Inconsistency | Differs from E10 | `FORMULATEXT` shows the same pattern | Rejected |
| Checks!C4 | Failed check | Balance difference of 0.01 | `ROUND` test returned FALSE | Confirmed |
The "Your check" column is what makes a finding usable by someone else.
Common errors in this kind of review
- Accepting a list of cell addresses without opening them. Copilot can cite the wrong cell, especially after rows have been inserted.
- Treating "no issues found" as proof of no issues. It means only that Copilot reported none for what it examined.
- Mixing inputs and calculations in one prompt, which leads to noisy hardcode lists.
- Fixing the symptom, such as plugging a balance difference with a typed number, which creates a new hardcode.
Exercise
Copilot tells you that cell F10 in a projection row "contains a hardcoded value." Name two independent checks in Excel that would confirm or reject this, and say what result confirms it.
Show answer
First, =SUMPRODUCT(--NOT(ISFORMULA(D10:H10))) over the row returns 1 if exactly one cell is typed, and =ISFORMULA(F10) returns FALSE for F10 if it is typed. Second, select F10 and read the formula bar, or use Go To Special > Constants on the row, which selects F10 if it holds a typed number. A hardcode is confirmed when F10 is not a formula in a row where its neighbors are formulas, and it is not a legitimate input cell.
Exercise
A balance sheet check cell shows TRUE, and Copilot says "all checks pass." What would you inspect before relying on that?
Show answer
Confirm the check cell contains a formula, not a typed TRUE (use ISFORMULA). Read the formula to make sure it compares total assets with liabilities plus equity and not a cell with itself. Check that the tolerance is tight, such as ROUND to two decimals, and that the check covers every period in the model.