What-If Analysis
Lesson opener
In one line: Goal Seek, Scenario Manager, and Data Table - change inputs, see outcomes, plan decisions.
Why it matters: This shows up at work when you need to goal Seek, Scenario Manager, and Data Table - change inputs, see outcomes, plan decisions..
Before this lesson: Pivot tables
If you have been through xl1-xl4, you already know more Excel than most people in most offices.
Before you start
| Resource | Link |
|---|---|
| Previous | Pivot tables |
| Next | Data analysis in Excel |
What you will learn
Goal Seek, Scenario Manager, and Data Table — change inputs, see outcomes, plan decisions.
Goal Seek
Goal Seek answers a backwards question. Normally you type inputs and Excel calculates the result.
Goal Seek lets you say: I know the result I want — tell me what input gets me there.
Example: I need profit to be 50,000. How many units do I need to sell? Goal Seek figures that out in seconds.
Question for this lesson: What MonthlySpend hits TotalRevenue of 2,500 when TenureMonths stays fixed?
Revenue model — spend × months
1. THE PROBLEM
You know the revenue target but not the monthly spend — guessing and retyping wastes time.
2. PLAIN ENGLISH VERSION
Multiply monthly spend by how many months the customer stays — that is total revenue for one account.
3. WHEN TO USE IT
Account planning sheet where tenure is fixed (12-month contract) and you need spend level to hit a quota.
4. THE FORMULA
Type labels in column A and values in column B:
| A | B | |
|---|---|---|
| 1 | MonthlySpend | 200 |
| 2 | TenureMonths | 12 |
| 3 | TotalRevenue | =B1*B2 |
=B1*B2(Read as: MonthlySpend × TenureMonths.)
5. BREAKDOWN
B1→ MonthlySpend — the dollar amount per month (Goal Seek will change this)B2→ TenureMonths — how long the customer stays (you keep this fixed)*→ multiply the two numbers together- Result in B3 → TotalRevenue for that customer
6. WHAT YOU WILL SEE
2400 in B3 when spend is 200 and tenure is 12.
Try it yourself
Type the table above on a blank sheet. Click B3, type =B1*B2, press Enter.
You should see 2400. Change B1 to 300 — B3 becomes 3600.
Run Goal Seek
- Click cell B3 (must contain a formula).
- Click Data → What-If Analysis → Goal Seek.
- Set cell:
B3(TotalRevenue). - To value:
2500. - By changing cell:
B1(MonthlySpend). - Click OK.
Excel sets MonthlySpend to about 208.33 so TotalRevenue equals 2500.
Scenario Manager
Scenario Manager saves whole sets of inputs — Base, Optimistic, Pessimistic — and shows them side by side.
Build a simple P&L on one sheet:
| A | B | |
|---|---|---|
| 1 | Volume | 1000 |
| 2 | Price | 50 |
| 3 | Profit | =B1*B2 |
Add three scenarios:
| Scenario | Volume | Price |
|---|---|---|
| Base | 1000 | 50 |
| Optimistic | 1200 | 52 |
| Pessimistic | 800 | 48 |
- Click Data → Scenario Manager → Add.
- Name each scenario; point Changing cells to B1 and B2.
- Type the values for that scenario.
- Click Summary → OK → new sheet with a comparison table.
Data Table (one variable)
A one-variable data table answers: "What if volume changes but price stays the same?"
- List volume values down a column (800, 900, 1000, 1100, 1200).
- In the cell above the list, reference your profit formula (e.g.
=B1*B2with volume in B1). - Select the list and the formula cell.
- Click Data → What-If Analysis → Data Table.
- Column input cell: point to B1 (Volume).
Excel fills profit for each volume in one shot.
Two-variable data table
Rows hold one input (volume). Columns hold another (price). Each cell shows profit for that pair.
Worked example — build this layout on a blank sheet:
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Price → | 45 | 50 | |
| 2 | Volume ↓ | |||
| 3 | 800 | |||
| 4 | 1000 | |||
| 5 | 1200 |
- Put Volume in A1 (label) and Price in B1. Type prices 45 and 50 in C1:D1.
- List volumes 800, 1000, 1200 in A3:A5.
- In B2 (top-left corner of the grid), type your profit formula referencing volume and price cells elsewhere (e.g.
=B$10*$B$11where B10=volume, B11=price on the same sheet). - Select B2:D5 (corner + both dimensions).
- Data → What-If Analysis → Data Table.
- Row input cell: the price cell. Column input cell: the volume cell.
Each filled cell shows profit for that volume–price pair — great for pricing meetings where both levers move.
You get a small sensitivity grid — great for pricing meetings.
Link to BA
Prescriptive analytics (BA module 3) uses the same thinking: change levers, see the outcome, pick a plan.
Essential commands
| Command / action | What it does |
|---|---|
Data → What-If Analysis → Goal Seek | Find one input that hits a target output. |
Data → Scenario Manager | Save and compare named input sets. |
Data → What-If Analysis → Data Table | Fill a table of outputs for many inputs. |
Practice — no download needed
Open a blank Excel sheet. Follow these steps exactly:
Step 1: Type this model starting at A1:
| A | B | |
|---|---|---|
| 1 | MonthlySpend | 150 |
| 2 | TenureMonths | 10 |
| 3 | TotalRevenue | (formula next step) |
Step 2: Click B3. Type:
=B1*B2Press Enter.
Step 3: What do you see?
You should see 1500 in B3.
If you see #VALUE!: one of the inputs is text — retype 150 and 10 as numbers.
Step 4: Run Data → What-If Analysis → Goal Seek.
Set cell B3, to value 2000, by changing B1.
Excel should set MonthlySpend to 200.
Challenge (optional): Add Volume and Price rows. Build three scenarios in Scenario Manager (Base / High price / Low volume). Run Summary — can you read which scenario has the highest profit?
Checklist
- [ ] Can you build a TotalRevenue formula from MonthlySpend and TenureMonths?
- [ ] Can you run Goal Seek to find the spend that hits a revenue target?
- [ ] Can you save three scenarios and generate a comparison summary sheet?
- [ ] Can you build a one-variable data table for different volume levels?
- [ ] Can you name one business lever you would change in a what-if model?