FormulaCamp
Completed
16. Professional Excel Engineering · Architecture and Auditing · 20 min

2. Separating Inputs from Calculations

Lesson 2 of 7
Task 1 of 5
  1. Name cell H1 "SalesTax" and cell H2 "Discount".

Lesson theory

The formula =B2*C2*0.95*1.08 works, but in six months nobody will remember what 0.95 and 1.08 are, and when a rate changes you'll have to hunt down every formula like it. The rule of a professional model: each parameter lives in one cell.

  • Collect the parameters in an input block (here G1:H2) and color it, so it's obvious what can be changed;
  • give the cells names: select the cell, type the name in the Name Box to the left of the formula bar, and press Enter. A formula like =D2*SalesTax reads without explanation and doesn't shift when copied;
  • calculated columns use one formula for the whole column, with no numbers inside;
  • quality check for a model: change a parameter, and everything that depends on it should recalculate by itself.

Test yourself

1. What is wrong with the formula =B2*C2*0.95?
2. Why give a parameter cell a name?
3. How do you check that a model is properly split into inputs and calculations?
fx

Enter — commit · F2 — edit · F4 — $ in a reference · Ctrl+C/Ctrl+V — copy and paste · Ctrl+Z — undo

Esc or F6 — leave the sheet for the «Check» button · Shift+Tab in the first cell — back to the page