BUS 120 · Spreadsheets and Business Data

What-If Analysis and Scenarios

Test how results change when assumptions change, using input cells, data tables, Goal Seek and best, base and worst cases.

Key takeaways

  • A model turns assumptions into results, and what-if analysis changes the assumptions on purpose.
  • Keep every assumption in its own labeled input cell so that one change flows through everything.
  • A one-variable table, a two-variable table and Goal Seek answer different kinds of question.
  • Scenarios group several assumptions into named cases such as worst, base and best.
  • Test the assumptions that matter most, and be honest that every case is still a guess.

Kofi is thinking about opening a weekend bicycle-repair stand in an invented town. He builds a plan: so many repairs a month, so much per repair, so much for the rent of a stall. The plan shows a profit of $840 a month. He is delighted.

Then his sister asks one question: "What if only half as many people show up?" Kofi has no idea. The plan gives one answer to one set of guesses, and the guesses are the weakest part.

What-if analysis means changing an assumption and watching the results move. It cannot tell you the future. It tells you which guesses matter most, how bad things could get and what you would have to believe for a plan to work.

Models and assumptions

A model is a simplified copy of a business inside the spreadsheet. It has assumptions, which are inputs you estimate, and results, which the formulas compute. Revenue, costs and profit are results. The number of customers and the price are assumptions.

A good model makes the link between them visible. It also follows the habits from designing a workbook others can trust: inputs in one place, formulas elsewhere and checks that pass.

The simplest what-if is to type a new number into an input cell and look at the result. This manual method is fast and fine for a quick look. The tools below do it more systematically.

Kofi's model

Here are Kofi's invented assumptions.

Input Value
Repairs per month 60
Price per repair 35
Parts cost per repair 9
Stall rent per month 600
Other fixed costs per month 120

The formulas are:

Revenue          = 60 × 35              = 2,100
Parts            = 60 × 9               =   540
Contribution     = 2,100 - 540          = 1,560
Fixed costs      = 600 + 120            =   720
Profit           = 1,560 - 720          =   840

Check it a second way. Each repair leaves 35 - 9 = 26 after parts. Sixty repairs leave 60 × 26 = 1,560. Take away 720 of fixed costs and $840 remains. Both routes agree, so this is Kofi's base case. Recompute before you scenario-test, because analysis built on a wrong base repeats the error everywhere.

One-variable analysis

The first question is: "How does profit change with the number of repairs?" Profit per repair, after parts, is 35 - 9 = 26. So profit equals 26 times repairs, minus 720.

Repairs Contribution Fixed costs Profit
20 520 720 -200
30 780 720 60
40 1,040 720 320
60 1,560 720 840
80 2,080 720 1,360

In Excel, a data table (under Data, then What-If Analysis) produces this automatically. List the values for repairs in a column. Put a link to the profit cell at the top of the next column. Select both and choose Data Table, with the repairs input cell as the column input. Excel fills in the results. Do not type over the filled cells, because they are a single array.

Kofi's monthly profit at different repair counts
Profit ($) Profit Base case Zero profit near 28 repairs Repairs per month Profit ($) Profit Base case Zero profit near 28 repairs Repairs per month

Each extra repair adds $26. The line crosses zero at about 28 repairs.

Where does the line cross zero? Solve 26 × repairs = 720. That gives 720 ÷ 26, about 27.7. So Kofi needs 28 repairs a month just to cover his costs. This point is called the break-even point, studied in break-even analysis.

Two-variable analysis

What if both the number of repairs and the price might differ? A two-variable data table puts one set of values down the side and another across the top. Each cell shows the result for that pair.

Profit equals repairs × (price - 9) - 720. Here are four combinations.

Price 30 Price 35 Price 40
40 repairs 120 320 520
60 repairs 540 840 1,140
80 repairs 960 1,360 1,760

Check two cells. Sixty repairs at a price of 30 give 60 × 21 - 720 = 1,260 - 720 = 540. Eighty repairs at 40 give 80 × 31 - 720 = 2,480 - 720 = 1,760.

The middle of the table is the base case, 840, so the table is anchored to something you already verified.

Reading across, a $5 price rise adds as much as 10 more repairs at the base. At 60 repairs, going from $35 to $40 adds 300. Going from 60 to 70 repairs at $35 adds 260. Price is the more powerful lever here, though customers may react to a higher price by buying less. The table does not know that. You must add the idea yourself.

Goal Seek: working backward

Sometimes you know the result you want and need the input. Goal Seek (Data, What-If Analysis) changes one input until a chosen formula reaches a target.

Kofi wants a profit of $1,000. Set the profit cell to 1,000 by changing the repairs cell. Excel tries values until it finds one.

You can also solve by hand. 26 × repairs - 720 = 1,000, so repairs = 1,720 ÷ 26, which is about 66.2. He needs about 67 repairs a month to be sure of $1,000. At 67 repairs, profit is 26 × 67 - 720 = 1,742 - 720 = 1,022.

Goal Seek changes the input cell to a typed value. If the formulas change later, you must run it again. It also solves one input at a time. For several inputs and limits, Excel has an add-in called Solver, which you may need to turn on.

Which what-if tool for which question
One-variable table One input changes Shows a result for each value Good for a trend line Two-variable table Two inputs change together Grid of results Good for price and volume Goal Seek Start from the target Finds one input Re-run if the model changes One-variable table One input changes Shows a result for each value Good for a trend line Two-variable table Two inputs change together Grid of results Good for price and volume Goal Seek Start from the target Finds one input Re-run if the model changes

Scenarios: whole stories, not single numbers

In real life, assumptions move together. In a bad month, fewer people come and parts cost more. A scenario is a named set of assumptions that fit together.

Most plans use three.

  • Worst case: a believable bad outcome, not a catastrophe.
  • Base case: the most likely outcome.
  • Best case: a believable good outcome.

Kofi's versions, all invented:

Input Worst Base Best
Repairs per month 35 60 80
Price per repair 30 35 40
Parts cost per repair 11 9 8
Fixed costs per month 720 720 720

Compute each profit.

Worst:  35 × (30 - 11) - 720 = 35 × 19 - 720 = 665 - 720 = -55
Base:   60 × (35 - 9)  - 720 = 60 × 26 - 720 = 1,560 - 720 = 840
Best:   80 × (40 - 8)  - 720 = 80 × 32 - 720 = 2,560 - 720 = 1,840
Kofi's monthly profit in three scenarios
-$55 Worst case: 35 repairs at $30, parts $11 $840 Base case: 60 repairs at $35, parts $9 $1,840 Best case: 80 repairs at $40, parts $8 -$55 Worst case: 35 repairs at $30, parts $11 $840 Base case: 60 repairs at $35, parts $9 $1,840 Best case: 80 repairs at $40, parts $8

The worst case loses a little; the best case more than doubles the base. Hypothetical example: the numbers are made up to show the method, not a quote or an average.

To build this, put the three columns on an inputs sheet and add a selector cell holding 1, 2 or 3. A CHOOSE or INDEX formula picks the active column. Excel also has a Scenario Manager, though many people prefer the visible selector because everyone can see which case is live.

Do not reuse the worst case as a promise of ruin, or the best case as a promise of riches. Probabilities may be unknown. Show the range, say what drives the spread and keep the base case honest.

Which input matters most?

Try a simple sensitivity test. Change each base input by 10% in the unfavorable direction, one at a time, and see what happens to the $840 profit.

Repairs down 10% (54):      54 × 26 - 720 = 1,404 - 720 = 684   (change -156)
Price down 10% (31.50):     60 × 22.50 - 720 = 1,350 - 720 = 630 (change -210)
Parts up 10% (9.90):        60 × 25.10 - 720 = 1,506 - 720 = 786 (change -54)
Fixed costs up 10% (792):   1,560 - 792 = 768                     (change -72)

Price is the most sensitive input. A 10% price cut costs $210, more than a 10% drop in repairs. The reason is that a lower price hits every repair, with no cost savings to offset it. Parts cost is the least sensitive, so Kofi should spend his worry elsewhere.

Sorting the changes from largest to smallest gives a simple chart that managers call a tornado chart, after its shape. You do not need the fancy chart. A plain table of "input, change, effect on profit" does the same job.

Also ask which inputs Kofi can control. He may pick his price but not his weather. Inputs you control are decisions. Inputs you do not are risks. A good analysis labels each one.

The common mistake: confusing a what-if with a forecast

Kofi's sister adds up the best case and tells everyone, "He'll make nearly two thousand a month." Scenarios were never predictions. They answer "what if?" and nothing more.

Other pitfalls:

  • Changing too many things at once. If five inputs move, you cannot tell which one mattered. Test one at a time first, then together.
  • Unrealistic combinations. Doubling repairs while keeping the same single stall and open hours may be impossible. Check capacity.
  • Forgetting links between assumptions. A higher price may reduce the count. If you can estimate the link, build it into the model.
  • Leaving a test value in the model. Always reset inputs to the base case and label which scenario is active.
  • Hard-coded results. If you paste values from a what-if run, mark them as such. They will not update.

Nothing here is a promise about any real business. Real figures should come from records, quotes and the rules that apply where you operate.

What accountants use it for

Budgeting teams test sales shortfalls. Lenders and owners test whether a business can still cover its loan payments if sales fall, using functions from financial functions for loans and investments. Analysts vary discount rates when valuing projects. In each case the habit is the same: find the assumptions that move the answer most, test them in a range and record the logic.

A short note beside the model also helps. State the base case, the range tested, the key finding and what you did not test. Kofi's note might read: "Profit is positive above 28 repairs a month. Price matters more than parts cost. Parts cost was tested only between $8 and $11."

That sentence is the real product. The tables and charts exist to support it. Combine it with the skills from earlier lessons, such as pivot tables for summarizing the history that your assumptions rest on, and you can build workbooks that people use to decide, and that they trust.

Words to know

Model a simplified spreadsheet version of a business that turns assumptions into results.

Assumption an estimated input that the model uses but does not prove.

What-if analysis changing assumptions to see how the results respond.

Data table an Excel tool that fills a grid with results for many input values.

Goal Seek a tool that finds the input needed to make a result hit a target.

Scenario a named set of assumptions that belong together.

Sensitivity how strongly a result responds to a change in one input.

Check yourself

  1. What is the difference between an assumption and a result?
  2. With the base inputs, how many repairs does Kofi need to reach exactly break-even, rounded up to a whole repair?
  3. What is profit at 70 repairs and a $35 price?
  4. Which scenario in the table produced a loss, and how large?
  5. Why should you change one input at a time at first?
  6. Explain why a best case is not a forecast.
Show the answers
  1. An assumption is an estimated input that you type, while a result is calculated from the inputs by formulas.
  2. Break-even is 720 ÷ 26, about 27.7, so he needs 28 repairs.
  3. Profit is 70 × 26 - 720 = 1,820 - 720 = 1,100.
  4. The worst case lost 55, since 35 × 19 = 665 and 665 - 720 = -55.
  5. Moving one input shows what that input does, while moving several hides which one caused the change.
  6. It only shows what follows if everything goes well, and nothing says it is likely or that it will happen.

A free self-study program written for 4Accounting with AI writing tools and not reviewed line by line by a person. It is not an accredited degree and awards no credit. Check anything you rely on against a textbook or primary source. Report an error.

In this unit: Analysis

  1. Pivot TablesTurn a long list of transactions into a clear summary with pivot tables, then check that the totals still agree.10 min
  2. Charts for Financial DataChoose the right chart for a financial question, build it from clean data and avoid pictures that mislead.11 min
  3. Financial Functions for Loans and InvestmentsUse PMT, FV, PV, RATE, NPV and IRR correctly, with matching periods, sensible signs and a check on every answer.11 min
  4. Designing a Workbook Others Can TrustLay out a workbook with separate inputs, calculations and outputs so that another person can follow and check it.10 min
  5. Error Checking and Spreadsheet ControlsFind spreadsheet mistakes with control totals, check formulas and review habits before they reach a report.10 min
  6. What-If Analysis and ScenariosTest how results change when assumptions change, using input cells, data tables, Goal Seek and best, base and worst cases.10 min

In the news