← Financial Modeling in Excel from Scratch
Lesson
Best practices: no hardcoding, references to inputs, consistency, color coding
Apply the basic rules of model hygiene: put every number in an assumption cell and reference it in formulas instead of hardcoding constants.
Color coding cells in a model
The color standard: blue for inputs, black for formulas, green for links
A single color standard lets anyone using the model see instantly where the assumptions are and where the automatic calculations are.
Lesson notes
How to build a model you can trust
The first rule: don't hardcode numbers in formulas. Compare: =B2*1.05 — the 5% growth rate is hidden inside the formula (1.05 = 1 + 5%), where you can't see it and it's hard to change. The right way: =B2*(1+Assumptions!$C$3), where cell C3 on the assumptions sheet holds the 5% growth rate. To change the growth, you change one cell, and the whole model recalculates.
The second rule: put all inputs in a separate block or on an “Assumptions” sheet, and have the calculation sheets only reference them. Anyone who opens the model finds all the assumptions in one place and can check or change them.
The third rule: one formula per row. If C5 contains =B5*(1+Assumptions!$C$3), then D5 contains =C5*(1+Assumptions!$C$3): the same logic, shifted to the next period. The $ sign locks the reference to the assumption, so the formula can be safely filled to the right; more on this in this unit's practice lesson. A number typed by hand in the middle of a row of formulas won't recalculate when an assumption changes.
The fourth rule: color coding. Blue marks numbers entered by hand (inputs), black marks formulas (calculations), and green marks links to other sheets. This professional modeling convention shows at a glance where the assumptions “live” and where the calculations are.