Why every what-if question starts with a clean model
“What happens to profit if we sell 10% more?” “Can we survive a price cut?” “How many units do we need to break even?” These are the questions managers, investors and lenders ask about every business plan, and Excel has powerful tools to answer them: Scenario Manager, Goal Seek and Data Tables. Yet many spreadsheets cannot use those tools at all, because the numbers are buried inside formulas. The answer to every what-if question starts with one unglamorous skill: building an input-driven model.
This free lesson is for business students, founders, junior analysts, controllers and anyone who has been handed a spreadsheet and asked “what if?”. You do not need finance training; you need to know how to type a formula. You will build the profit model of Lumen & Co., a fictional maker of desk lamps, and the same numbers you see in the lab above are used throughout this article. The model you build here is the foundation for every other lab in the course.
By the end of the lesson you will be able to separate inputs from calculations, build a five-line profit model from units, price, variable cost, fixed costs and tax, check it for hidden constants, and explain why profit reacts more strongly than sales volume. That last idea, operating leverage, is one of the most useful insights in business analysis, and you will see it with your own numbers.
The core idea: inputs and calculations live apart
An input-driven model has two kinds of cells. Inputs are the assumptions you type: units sold, price, costs, rates. Calculations are formulas that refer only to inputs or to other calculations. No calculation ever contains a typed business number. That sounds like a style rule, but it is what makes a model answer questions.
- One input, one cell. The price of $85 is typed once, in B5. Every formula that needs the price refers to B5. Change B5 and the whole model updates.
- Inputs are visible. They sit together in one block (B4:B8 in the lab) and are clearly marked. In many finance teams, inputs use blue font and formulas black; in Tabellab labs, the cells you type into are highlighted.
- Units belong in the label. “Price per unit (USD)” and “Tax rate” leave no room for doubt about whether a number is dollars, thousands or a percentage.
- Calculations flow top to bottom. Revenue comes before costs, costs before profit. A reader can follow the logic like a story, and there are no circular references.
Why does this matter so much? Imagine the revenue formula is =B4*85. It returns the right number today. But when the price changes to $89, someone updates B5, the revenue stays wrong, and nobody notices because no error appears. Excel’s what-if tools have the same blind spot: Goal Seek can only change a cell that contains a value, not a number hidden inside a formula, and a Data Table substitutes values into one input cell, so a constant typed elsewhere is never varied. The tools still return results, they are just the wrong results.
Worked example: the Lumen & Co. desk-lamp model
Lumen & Co. makes one product, a desk lamp. For the 2026 plan the company assumes, for example, 12,000 lamps sold at $85 each, a variable cost of $38 per lamp (materials, packaging, shipping), fixed costs of $400,000 a year (rent, salaries, machines) and a flat tax rate of 25% applied to profit. These are example assumptions for the exercise, not real tax rules. The inputs sit in B4:B8, and you build the calculations in B11:B17.
| Cell | Line | Formula | Result (base) |
|---|---|---|---|
| B11 | Revenue | =B4*B5 | $1,020,000 |
| B12 | Variable costs | =B4*B6 | $456,000 |
| B13 | Contribution margin | =B11-B12 | $564,000 |
| B14 | Fixed costs | =B7 | $400,000 |
| B15 | EBIT | =B13-B14 | $164,000 |
| B16 | Tax | =B15*B8 | $41,000 |
| B17 | Net profit | =B15-B16 | $123,000 |
Walk through the logic once. Revenue is units × price: 12,000 × $85 = $1,020,000. Variable costs are units × variable cost per unit: 12,000 × $38 = $456,000. The contribution margin is what remains to cover fixed costs: $564,000, or $47 per lamp. Subtract the fixed costs and you get EBIT (earnings before interest and taxes) of $164,000. Tax at the assumed 25% is $41,000, which leaves a net profit of $123,000.
Notice B14. Fixed costs are already an input in B7, so B14 simply says =B7. It would be tempting to type 400000 again, but then the model would have two places for the same number, and sooner or later they would disagree. Linking keeps one source of truth. The same idea explains why B13 can be written either as =B11-B12 or as =B4*(B5-B6): both refer only to inputs or calculations, so both are correct, and the first one is easier to follow.
=MAX(0,B15)*B8. Real tax rules are more complex and vary by country, so treat the 25% here purely as a modelling assumption.Operating leverage: why profit moves more than sales
The last question in the lab asks: if units rise by 10%, does EBIT rise by more or less than 10%? Test it by changing B4 from 12,000 to 13,200 and watching B15. Then change it back.
| Units sold | Revenue | Contribution margin | EBIT | EBIT change vs base |
|---|---|---|---|---|
| 10,800 (−10%) | $918,000 | $507,600 | $107,600 | −34.4% |
| 12,000 (base) | $1,020,000 | $564,000 | $164,000 | – |
| 13,200 (+10%) | $1,122,000 | $620,400 | $220,400 | +34.4% |
A 10% rise in volume raises revenue, variable costs and the contribution margin by exactly 10%, because they are all proportional to units. The contribution margin grows by $56,400. Fixed costs, however, stay at $400,000. So the entire $56,400 drops through to EBIT, which rises from $164,000 to $220,400, an increase of 34.4%. The effect works in both directions: 10% fewer units cut EBIT by 34.4%, to $107,600.
This amplification is called operating leverage. Its size can be measured as contribution margin ÷ EBIT: =B13/B15 gives 564,000 ÷ 164,000 ≈ 3.44. In words: near the current volume, every 1% change in units changes EBIT by about 3.44%. Businesses with high fixed costs and thin profits have high operating leverage, which makes them very profitable in good years and fragile in bad ones. Net profit moves by the same 34.4% here because the flat tax takes the same share of a positive EBIT in both cases.
The break-even chart shows the same story from another angle. Total cost starts at $400,000 even when nothing is sold and rises by $38 per lamp; revenue starts at zero and rises by $85 per lamp. Each lamp closes the gap by $47, so the lines meet at 400,000 ÷ 47 ≈ 8,511 units, which you can calculate with =B7/(B5-B6). Lumen’s plan of 12,000 units is about 3,489 units, or roughly 29%, above break-even. That distance is the margin of safety, a topic you will solve exactly later in the course.
How to build an input-driven model in Excel, step by step
- Write the inputs first. In A4:A8 type clear labels with units, and in B4:B8 the assumptions. Format B8 as a percentage with Ctrl+Shift+% and the dollar amounts with Ctrl+Shift+$ or Ctrl+1 > Number.
- Mark the inputs. Select B4:B8 and apply Home > Styles > Cell Styles > Input, or set a blue font colour. Anyone opening the file now knows which cells may be changed.
- Optionally name them. Select A4:B8 and use Formulas > Defined Names > Create from Selection (Ctrl+Shift+F3) with “Left column” ticked. Excel turns the labels into names (spaces become underscores, so “Units sold” becomes Units_sold), and formulas can use names instead of cell addresses. Short custom names such as Price, set via Define Name, are often tidier:
=Units*Price. - Build the calculations by clicking, not typing numbers. In B11 type
=, click B4, type*, click B5 and press Enter. Continue with B12=B4*B6, B13=B11-B12, B14=B7, B15=B13-B14, B16=B15*B8and B17=B15-B16. - Check the results against a quick mental estimate. 12,000 × $47 is a little over half a million, minus 400,000 leaves about 164,000. If your EBIT is wildly different, a reference is wrong.
- Hunt for hidden constants. Select B11:B17, press F5, click Special, choose Constants and OK. If Excel selects anything in the calculation block, a number has been typed where a formula should be. Then press Ctrl+` to show all formulas and read them once.
- Trace the logic. Click B17 and use Formulas > Formula Auditing > Trace Precedents repeatedly. The arrows should lead back to B4:B8 and nowhere else. Remove Arrows clears them.
- Run a sensitivity test. Change B4 to 13,200 and note EBIT, then return to 12,000. Do the same with price or fixed costs. This is a manual what-if analysis, and it only works because every result is driven by the inputs.
- Know where the tools are. Excel’s built-in options live under Data > What-If Analysis (in the Forecast group on Windows): Scenario Manager, Goal Seek and Data Table. With a model like this one, all three work immediately.

Common mistakes and how to spot them
- Numbers typed into formulas.
=B4*85or=B13-400000look harmless but break silently when the input changes. Spot them with Go To Special > Constants or by showing formulas with Ctrl+`. - Subtracting the cost of one unit.
=B4*B5-B6subtracts $38 instead of 12,000 × $38, so the contribution margin is almost as large as revenue. If the margin looks too good to be true, check the brackets:=B4*(B5-B6). - Duplicated inputs. Typing the fixed costs again in B14 creates two versions of the truth. Link instead:
=B7. - Confusing EBIT and net profit. EBIT is before tax, net profit after. If B17 equals B15, the tax step is missing.
- Percentages typed as whole numbers. A tax rate of 25 instead of 25% multiplies EBIT by 25. Format the input as a percentage and type 25%, or type 0.25.
- Inputs scattered across the sheet. If an assumption sits at the bottom of a long calculation, it will be missed in the next review. Keep all inputs in one block at the top or on a separate Inputs sheet.
- Circular references. A formula that refers back to itself, directly or through other cells, triggers Excel’s circular-reference warning. Check Formulas > Error Checking > Circular References to find the cell.
- Assuming profit scales with sales. Expecting a 10% sales increase to raise profit by 10% ignores fixed costs. Let the model tell you, as in the operating-leverage test above.
Quick reference
| Tool, function or key | What it does | Where |
|---|---|---|
Basic arithmetic * - / | All calculations in this model | Formula bar |
=B7 (link) | Pulls an input into the calculation block instead of retyping it | B14 |
=MAX(0,B15)*B8 | Optional refinement: no negative tax in a loss year | B16 |
=B13/B15 | Degree of operating leverage (≈ 3.44 here) | Any spare cell |
=B7/(B5-B6) | Break-even units (≈ 8,511) | Any spare cell |
| F4 | Makes a reference absolute ($B$5), needed for data tables later | While editing |
| Ctrl+` | Shows formulas instead of values | Whole sheet |
| F5 > Special > Constants | Selects every typed number, so hard-coded values stand out | Home > Find & Select > Go To Special |
| Trace Precedents / Dependents | Draws arrows from inputs to the formulas that use them | Formulas > Formula Auditing |
| Cell Styles > Input / Calculation | Colours input and formula cells consistently | Home > Styles |
| Define Name / Create from Selection | Names such as Price or Units make formulas readable (Ctrl+Shift+F3) | Formulas > Defined Names |
| What-If Analysis | Scenario Manager, Goal Seek and Data Table | Data > Forecast (Windows) or Data (Mac) |
Real-world uses
- Business plans and pitch decks. Investors change your assumptions in their heads. With an input-driven model you can show the effect of their scepticism live, for example 20% fewer units, in seconds.
- Pricing decisions. A product manager can test whether a $5 price cut that is expected to lift volume actually raises profit, using the same contribution-margin logic.
- Annual budgets. Controllers keep growth rates, salary increases and cost assumptions in one input sheet so the whole budget can be updated when management changes a target.
- Loan and lease applications. Lenders want to see how much sales can fall before profit disappears. The break-even and margin-of-safety figures come straight out of a model built this way.
- Personal projects. A freelancer can model hours, hourly rate, fixed costs and tax reserve to see how many billable hours a month cover the bills.
What you will build in the rest of this course
This lesson is the first of 20. Every following lab reuses the Lumen & Co. model you just built, so you spend your time on the what-if techniques rather than on new data, and every cell is checked as you type.
Scenario Selector: Base, Best and Worst with CHOOSE and INDEX. You keep three complete scenarios side by side, pick one by typing its name and let a Live column feed the model you built here. It is a transparent, formula-driven version of Excel’s Scenario Manager that anyone can audit.
One-Variable Data Table, Built with Formulas. You test nine prices for the desk lamp in one table, with units that react to the price, and chart EBIT against price to see where profit peaks. Higher price is not automatically better, and this lab shows you exactly why.
Two-Variable Data Table with Mixed References. You build a 5 × 5 grid of EBIT for units down the side and price across the top with a single formula, count the combinations that reach the target and colour the losses red. Mixed references finally make sense here.
Goal Seek by Hand: Bisection Table vs the Algebraic Solution. You find the units that hit a target EBIT of $250,000 twice: with a 16-step bisection table that shows what Goal Seek does behind the scenes, and with one line of algebra that gives the exact answer.
Break-Even and Target Profit: Solve Instead of Seek. You answer four classic Goal Seek questions with exact formulas: break-even revenue, the units needed for an after-tax profit target, the price that hits it and the margin of safety.
Tornado Sensitivity: Which Driver Moves Profit Most?. You flex each of the four drivers by ±10%, measure the swing in EBIT, name the most important driver and draw the tornado chart with the largest bar first, the chart that tells management where to focus.
Monte-Carlo-Style Scenarios: Expected Value and the Chance of a Loss. You turn 20 given random numbers into 20 possible years for the desk lamp, then report the expected EBIT and the probability of a loss. It is a gentle, fully checked introduction to thinking in ranges instead of single numbers.
Summary
An input-driven model keeps assumptions in one clearly marked block and lets formulas do everything else. For Lumen & Co. the inputs are units, price, variable cost, fixed costs and an example tax rate, and the calculations run from revenue through contribution margin and EBIT to net profit. Because fixed costs do not move with volume, a 10% change in units moves EBIT by about 34%, which is exactly why what-if analysis is worth doing. Without hidden constants, Goal Seek, Data Tables and Scenario Manager all work on this model straight away.
Now scroll back up to the lab and build it yourself: fill in B11 to B17 using only references to the inputs, then test what happens to EBIT when units rise by 10% and type your answer in B19. Five minutes of careful structure here saves hours in every model you build afterwards.
Frequently asked questions
What is an input-driven model in Excel?
It is a spreadsheet where every assumption is typed once in a marked input cell and every result is a formula that refers only to inputs or other formulas. Changing an input updates the whole model.
What is what-if analysis in Excel?
What-if analysis means changing inputs to see how results respond. Excel offers Scenario Manager, Goal Seek and Data Tables under Data > What-If Analysis, and they all need a model without hard-coded numbers.
Why should I not type numbers into formulas?
A number inside a formula, such as =B4*85, is invisible to anyone changing the inputs and to Excel’s what-if tools. When the assumption changes, the formula silently keeps the old value.
How do I calculate contribution margin in Excel?
Contribution margin is revenue minus variable costs, for example =B11-B12 or =B4*(B5-B6) for units times price minus variable cost per unit. It is the amount left to cover fixed costs and profit.
What is operating leverage?
Operating leverage is the effect that fixed costs make profit change by a larger percentage than sales volume. It can be measured as contribution margin divided by EBIT; in this lesson that is about 3.44.
How do I find hard-coded numbers in a spreadsheet?
Select the calculation area, press F5, click Special and choose Constants. Excel selects every typed value, so numbers that should be formulas stand out. Ctrl+` shows all formulas for a final check.
Keep going: What-If Analysis: Scenarios, Data Tables & Goal Seek
This free lab is lesson 1 of 20. Unlock the other 19 hands-on labs, the final exam and your certificate for a one-time $9.90.
- Scenario Selector: Base, Best and Worst with CHOOSE and INDEX
- One-Variable Data Table, Built with Formulas
- Two-Variable Data Table with Mixed References
- Goal Seek by Hand: Bisection Table vs the Algebraic Solution
- Break-Even and Target Profit: Solve Instead of Seek
- Tornado Sensitivity: Which Driver Moves Profit Most?
- Monte-Carlo-Style Scenarios: Expected Value and the Chance of a Loss
- Spider Chart: EBIT from −20% to +20% for Every Driver
- Sales Mix What-If: Weighted Contribution and Break-Even for Three Lamps
- Step Fixed Costs: When Extra Volume Needs a Second Shift
- Price Changes: How Much Volume Can You Lose or Must You Gain?
- Scenario Report: EBIT Deltas vs Base and a Probability-Weighted View
- Non-Linear Models: Volume Discounts and a Goal Search Table
- Constrained Mix: Contribution per Bottleneck Hour, Solved by Hand
- Currency What-If: Costs in EUR, Prices in USD and the Break-Even Rate
- Cash Runway What-If: Monthly Cash, the Lowest Point and the Funding Need
- Reverse Stress Test: How Far Can Each Driver Move Before EBIT Hits the Floor?
- Model Checks Before Every What-If Run: Totals, Probabilities and Error Counts
- Final Project: The What-If Dashboard for the 2027 Plan