Microsoft Excel · Module 1 · Lesson 132 min read

What-If Analysis: Goal Seek and simple scenarios

Sometimes you know the result you want, but not what input produces it. Goal Seek works backwards to find the answer for you.

A real example

Suppose you have a loan calculator: Cell B1 is the loan amount, B2 is the monthly payment (calculated by a formula), and you want to know: "What loan amount gives me a monthly payment of exactly $300?"

Using Goal Seek

  1. Go to Data -> What-If Analysis -> Goal Seek
  2. Set cell — the cell with the formula result you want to control (e.g. the monthly payment cell)
  3. To value — the target number (e.g. 300)
  4. By changing cell — the input cell Excel should adjust (e.g. the loan amount cell)
  5. Click OK — Excel automatically finds the loan amount that produces a $300 payment

Another common example

"How many units do I need to sell to break even (profit = 0)?"

  • Set cell: the Profit cell
  • To value: 0
  • By changing cell: the Units Sold cell

Scenario Manager — comparing multiple "what if" situations

If you want to compare several different assumptions side by side (e.g. Best Case, Worst Case, Likely Case sales figures):

  1. Go to Data -> What-If Analysis -> Scenario Manager
  2. Click Add, name the scenario (e.g. "Best Case"), and set the input values for that scenario
  3. Repeat for each scenario
  4. Click Summary to generate a comparison table showing the results of every scenario side by side

When to use which

Question typeTool
"What input gives me this exact result?"Goal Seek
"How do different sets of assumptions compare?"Scenario Manager