Rana Maninder Singh
Lesson 7 of 8Excel & Spreadsheets

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

ResourceLink
PreviousPivot tables
NextData analysis in Excel


What you will learn

Goal Seek, Scenario Manager, and Data Table — change inputs, see outcomes, plan decisions.

Chart picker cheat sheet
Chart picker cheat sheet

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:

AB
1MonthlySpend200
2TenureMonths12
3TotalRevenue=B1*B2
=B1*B2

(Read as: MonthlySpend × TenureMonths.)

5. BREAKDOWN

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

  1. Click cell B3 (must contain a formula).
  2. Click Data → What-If Analysis → Goal Seek.
  3. Set cell: B3 (TotalRevenue).
  4. To value: 2500.
  5. By changing cell: B1 (MonthlySpend).
  6. 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:

AB
1Volume1000
2Price50
3Profit=B1*B2

Add three scenarios:

ScenarioVolumePrice
Base100050
Optimistic120052
Pessimistic80048
  1. Click Data → Scenario Manager → Add.
  2. Name each scenario; point Changing cells to B1 and B2.
  3. Type the values for that scenario.
  4. 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?"

  1. List volume values down a column (800, 900, 1000, 1100, 1200).
  2. In the cell above the list, reference your profit formula (e.g. =B1*B2 with volume in B1).
  3. Select the list and the formula cell.
  4. Click Data → What-If Analysis → Data Table.
  5. 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:

ABCD
1Price →4550
2Volume ↓
3800
41000
51200
  1. Put Volume in A1 (label) and Price in B1. Type prices 45 and 50 in C1:D1.
  2. List volumes 800, 1000, 1200 in A3:A5.
  3. In B2 (top-left corner of the grid), type your profit formula referencing volume and price cells elsewhere (e.g. =B$10*$B$11 where B10=volume, B11=price on the same sheet).
  4. Select B2:D5 (corner + both dimensions).
  5. Data → What-If Analysis → Data Table.
  6. 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 / actionWhat it does
Data → What-If Analysis → Goal SeekFind one input that hits a target output.
Data → Scenario ManagerSave and compare named input sets.
Data → What-If Analysis → Data TableFill 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:

AB
1MonthlySpend150
2TenureMonths10
3TotalRevenue(formula next step)

Step 2: Click B3. Type:

=B1*B2

Press 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?