Modelling
Building models that survive review
Easy 12 min read
Layout, colour code, one formula per row, checks, lookups and the habits that make a model safe to change.
A financial model is only useful if other people can follow it, change an input and trust the result. Most errors in junior models are not wrong finance but habits: a typed number where a formula should be, a reference that moved when it should not, a check nobody looks at.
In short
A good model separates inputs from calculations, uses one formula per row, contains no typed numbers inside calculations and checks itself. These habits matter more than clever formulas, because they are what lets a reviewer trust the numbers and lets you change an assumption at short notice.
The intuition
A model is a machine with dials. The dials are the assumptions: growth, margins, the interest rate, the purchase price. Everything else should follow from them automatically. When a senior asks "what if the multiple is one turn lower?", the answer should take ten seconds: turn one dial, read the result.
A model fails at this in two ways. In the first, a dial is not connected: somewhere a number was typed over a formula, and when the assumption changes that part of the machine silently keeps the old value. The output is then wrong without any error message, which is the most dangerous kind of wrong. In the second, the machine works but nobody else can see how. A reviewer who cannot follow the logic in a few minutes has to rebuild it, or worse, has to trust it.
Every convention in this article serves one of two goals: keep all dials connected, and make the wiring visible. The ICAEW's Financial Modelling Code is a free framework of good practice written for exactly this purpose, and worth reading once in full[1].
The mechanics
Structure
- Inputs, calculations, outputs. Assumptions sit in one clearly marked place, calculations in another, results in a third. Nobody should have to hunt for the growth rate.
- One row, one formula. The formula in the first year is copied unchanged to every other year. If one year needs something different, that is a new input, not a different formula.
- Time runs left to right, in the same columns on every sheet.
- Units in every label: "€m", "%", "days".
- One sign convention. Decide whether costs are entered as positive or negative numbers and keep to it everywhere.
The colour code
Most banks and funds use the same convention:
| Colour | Means |
|---|---|
| Blue font | Typed input |
| Black font | Formula |
| Green font | Link to another sheet |
| Yellow fill | Something to check or still to fill |
The point is not the colours. It is that a reviewer sees at a glance what is assumed and what is calculated.
No hardcodes
A hardcode is a typed number inside the calculations: a tax rate written into a formula as 0.25, or a result pasted over a formula. Every number should be either an input (blue, in one place) or a formula that points to one.
References and $ anchors
When a formula is copied, relative references move with it; absolute references do not.
B5moves in both directions.$B$5never moves: use it for single inputs such as the tax rate.$B5keeps the column,B$5keeps the row. Mixed references let one formula fill a whole two-way table.
In Excel, F4 cycles through the four variants while you edit a reference[2].
Worked example 1: one formula for a whole sensitivity table
Hollerbach Antriebe GmbH, an invented gearbox maker, is to be valued at different EBITDA levels and multiples. EBITDA cases are typed into row 1 (B1 to D1), multiples into column A (A2 to A4). The formula in B2 is =$A2*B$1: the $ before the A fixes the column of multiples, the $ before the 1 fixes the row of EBITDA cases. Copied to the other eight cells without any change, it produces the table.
| Multiple | EBITDA 90 | EBITDA 100 | EBITDA 110 |
|---|---|---|---|
| 8.0x | 720 | 800 | 880 |
| 9.0x | 810 | 900 | 990 |
| 10.0x | 900 | 1,000 | 1,100 |
Now test the anchors by leaving them out. With =A2*B1 in B2, the cell to the right becomes =B2*C1: it multiplies the first result, 720, by the next EBITDA of 100 and shows 72,000. Wrong anchors rarely produce a subtle error. They produce nonsense one cell away from a correct value, which is why you check a corner of every copied block, not just the first cell.
Lookups and conditional sums
- INDEX / MATCH finds a value by a key: MATCH returns the position, INDEX the value at that position. XLOOKUP does both in one function in current Excel versions. Microsoft's support pages explain them with examples, including how to catch missing keys with IFERROR[3].
- SUMIFS, COUNTIFS, AVERAGEIFS summarise a list by conditions, such as "deal value where sector is Software and year is 2026".
Checks
Build checks into the model and make them visible:
- Balance check: assets minus liabilities and equity must be zero in every year.
- Cash check: cash on the balance sheet equals closing cash in the cash flow statement.
- Sources equal uses in a transaction model.
- A summary cell at the top of the output sheet that shows whether all checks pass.
Worked example 2: what a check row tells you
A three-statement model for Hollerbach does not balance. The check row shows the difference between total assets and total liabilities and equity.
| Year 1 | Year 2 | Year 3 | |
|---|---|---|---|
| Total assets | 850 | 905 | 965 |
| Liabilities and equity | 850 | 915 | 985 |
| Check (should be 0) | 0 | −10 | −20 |
| Dividend paid in the year | 0 | 10 | 10 |
The pattern is the clue. The difference appears in year 2, the first year with a dividend, equals the dividend, and then accumulates: 10, then 20. Cash went down by the dividend, so assets are right, but equity was never reduced. The fix is one formula in the equity row: opening equity plus net income minus dividends.
The same reading works for other errors. A difference equal to twice a working capital movement points to a flipped sign; one equal to D&A to a missing add-back; one that starts at zero and jumps in a single year to a formula overwritten in that column. The reasoning behind each is in How the three financial statements fit together.
Before you send it
- Change a key input and see whether the outputs move as expected.
- Look at the model with formulas shown (Ctrl+` toggles the view) to spot typed numbers[2].
- Check every total and every check cell.
- Remove old scenarios, hidden rows you do not need and links to other files.
- Save with a version number and a short note on what changed.
Special cases and variants
Circular references. Interest calculated on average debt depends on cash, which depends on interest. The loop forces Excel's iterative calculation and can hide errors or spread one error value through the whole model. Calculate interest on opening balances, or, if average balances are required, add a switch cell that breaks the loop when set to zero.
Scenarios. Keep base, upside and downside assumptions side by side on the input sheet and select the active case with one cell, for example with INDEX or CHOOSE. Every scenario then runs through the same formulas. Label on every output page which case is shown: an upside case mistaken for the base case is a serious error in front of a client or an investment committee.
Data tables. Excel's data table feature recalculates the whole model for each cell of a sensitivity table. It is convenient for complex outputs such as IRR, but slow in large models and impossible to audit cell by cell. Where an output can be written as one self-contained formula, as in worked example 1, that is more transparent.
Lookups that fail. A lookup on a key that does not exist returns an error; wrapped in IFERROR with a zero, it returns a silent zero, which may be worse. Decide which is safer for the case at hand, and never hide errors wholesale.
Compatibility. XLOOKUP and dynamic arrays do not exist in older Excel versions. If a client or lender will open the file, INDEX / MATCH is the safe choice.
Rows inserted later. A SUM over a fixed range does not always grow when a row is added at its edge. After inserting rows, check that every total still covers the block.
External links. Links to other workbooks break when the file is emailed. Paste the needed values into an input sheet and note the source.
Working fast. Shortcuts let you keep your attention on the numbers: Ctrl+arrow to jump to the edge of a block, Ctrl+Shift+arrow to select it, Ctrl+R and Ctrl+D to fill right and down, F2 to edit, F4 for anchors[2]. The shortcut trainer drills them for Windows and Mac.
Common mistakes
The errors reviewers find most often:
- A typed number inside a formula, for example
=B5*1.19in place of a link to the VAT rate. - A formula overwritten in one year only, so the row is no longer consistent.
- A range that stops one row early after a row was inserted.
- Wrong anchors, so that copied formulas point to the wrong inputs.
- Units mixed: thousands in one place and millions in another.
- Signs inconsistent: costs positive in one block and negative in another.
- A check that exists but is hidden on a sheet nobody opens.
- A balance sheet closed with a plug. A typed-in difference is worse than a visible error.
- In modelling tests: spending the time on formatting and running out before the returns are calculated. A plain model that works beats a polished one that does not.
How it is asked
Excel is rarely tested with spoken questions. It is tested by doing: a timed modelling test, a case study with a spreadsheet, or in the first week on the desk. Interviewers do ask about the reasoning behind model design, and about how you deal with errors.
- How do you model a cash sweep, and why is MIN needed? A design question: what stops debt from turning negative.
- Tell me about a time you found an error in someone else's work. Reviewing models is half of the job; say how you raised it.
- Tell me about a time you made a mistake at work. A model error caught and fixed is a good, honest example.
In a test, graders open the file and look first at whether inputs are separated and coloured, whether formulas are consistent across the row, and whether the checks pass. They change one input to see whether everything moves. A candidate whose model survives that has already passed most of the technical bar.
In practice
Analysts rarely build from a blank sheet. They inherit a model from the last deal, from a colleague or from the client, and the first hour goes into understanding it: find the inputs, trace one output back to them, run the checks. Practical modelling guides build a full model with these habits from the start[4], and valuation texts add the plausibility checks a reviewer runs on the outputs[5].
The real test comes late in the evening, when a senior changes an assumption shortly before a deadline. In a clean model that is one cell and a look at the checks. In a model with hardcodes it is a search through every sheet, and no certainty at the end.
To practise:
Sources
Numbers in brackets point to the sources below.
- [1] ICAEW. Financial Modelling Code (Improve your financial modelling practice). A free framework of good practice for building and reviewing financial models.
- [2] Microsoft. Keyboard shortcuts in Excel. The official list of Excel shortcuts for Windows and Mac.
- [3] Microsoft. Look up values in a list of data. INDEX / MATCH, VLOOKUP and XLOOKUP with examples.
- [4] Paul Pignataro. Financial Modeling and Valuation: A Practical Guide to Investment Banking and Private Equity. Wiley (any edition). Builds a full three-statement model, DCF and LBO step by step.
- [5] Tim Koller, Marc Goedhart and David Wessels (McKinsey & Company) (2020). Valuation: Measuring and Managing the Value of Companies. Wiley, 7th edition. The standard practitioner text on DCF, reorganising financial statements and the cost of capital.
Next article: Precedent transactions