How to Use Excel’s What-If Analysis Tools to Plan Better

What-If Analysis starts with a question every business asks: what happens if we change one number? “What if we raise prices by 5%?” “What if we cut marketing spend by 20%?” “How many units do we need to sell to break even?” These are all what-if questions, and Excel has tools built specifically to answer them without rebuilding your spreadsheet three times.

These tools are grouped under Data > What-If Analysis. Most users have seen the menu but never opened it, which is a shame, because these three tools — Goal Seek, Scenario Manager, and Data Tables — can turn a static model into a real planning tool.

In this article, I will walk through each one, explain when it is useful, and show you how to use it with practical examples. You do not need advanced Excel skills to follow along, but you do need a working formula or model that produces a result you care about.

What-If Analysis in Excel

Why What-If Analysis Matters

A normal spreadsheet shows you one answer. If you plug in last quarter’s numbers, you see last quarter’s results. What-If Analysis flips that around. You say “Here is the result I want. What inputs get me there?” Or “If I change this input, how does the result move?” That shift from static to interactive is what makes a spreadsheet a planning tool.

For budget planning, pricing decisions, sales targets, and break-even calculations, this is one of the most valuable skills you can learn in Excel.

Tool 1: Goal Seek

Goal Seek answers a simple but powerful question: what value do I need in one cell to make another cell reach a target?

Example: Break-Even Units

Suppose you have:

  • Fixed cost in B2: 200,000
  • Price per unit in B3: 500
  • Variable cost per unit in B4: 300
  • Units sold in B5: 1,000
  • Profit in B6:
=B5*(B3-B4)-B2

Plug in the current numbers and B6 shows 0 (break-even). But you want profit to be 100,000. How many units do you need to sell?

Step 1: Go to Data > What-If Analysis > Goal Seek.

Step 2: Set cell: B6 (the profit cell).

Step 3: To value: 100000 (the target).

Step 4: By changing cell: B5 (the units cell).

Click OK. Excel calculates and shows you need 1,500 units to make 100,000 in profit. It finds that answer by trial and error in milliseconds.

Goal Seek only works with one variable. If you need to change two cells at once, it will not work. But for questions like “how much do I need to sell”, “what price hits my margin”, or “what interest rate makes the loan affordable”, Goal Seek is perfect.

A real-world caution: Goal Seek overwrites the cell you told it to change. If B5 had the value 1,000 and Goal Seek changes it to 1,500, the original value is gone. Save a copy before running it, or press Ctrl + Z afterward to restore.

Tool 2: Scenario Manager

Scenario Manager lets you compare multiple sets of inputs side by side without building separate models. It saves different “what-if” scenarios and shows you the results in one table.

Example: Three Budget Scenarios

Suppose your budget model has inputs like Marketing Spend, Sales Headcount, Average Deal Size, and Revenue. You want to compare three plans: Conservative, Realistic, and Aggressive.

Step 1: Go to Data > What-If Analysis > Scenario Manager.

Step 2: Click Add. Give the scenario a name like “Conservative”.

Step 3: Select the cells that change (Marketing, Headcount, Deal Size). Enter the values for this scenario.

Step 4: Click OK.

Step 5: Repeat for “Realistic” and “Aggressive”.

Step 6: Click Summary. Excel generates a report showing all scenarios and their results side by side.

This is a huge time saver for board presentations, budget planning, and any situation where you need to show leadership a range of outcomes. Instead of maintaining three separate workbooks, you keep one model and switch between scenarios.

A practical tip: make sure the changing cells are clearly labeled on the sheet. Scenario Manager shows values, not labels, so if a cell is not labeled, you may forget what it controls.

Tool 3: Data Tables

Data Tables are the most powerful of the three, but also the most confusing. They show how changing one or two inputs affects a result. The output is a full table of values, not a single answer.

One-Variable Data Table

Example: Profit at Different Unit Prices

You have a profit model where price is in B3 and profit is in B6. You want to see profit at price levels from 400 to 600 in steps of 20.

Step 1: In a column, type the price values: 400, 420, 440, 460, 480, 500, 520, 540, 560, 580, 600.

Step 2: In the cell above and to the right of the first value, reference the result cell:

=B6

Step 3: Select the range (the column of prices plus the header).

Step 4: Go to Data > What-If Analysis > Data Table.

Step 5: For Column input cell, pick B3 (the price cell).

Step 6: Click OK.

Excel fills a column with profit values for each price. Now you can see exactly how profit moves as price changes. This is powerful for pricing decisions, sensitivity analysis, and anything where a small input change matters.

Two-Variable Data Table

Example: Profit at Different Prices and Costs

Now suppose you want to see profit at different prices AND different unit volumes. A two-variable table puts prices in a row and volumes in a column, with the result cell at the top-left corner.

Step 1: In row 1, type prices: 400 to 600.

Step 2: In column A, type volumes: 500 to 2,000.

Step 3: In cell A1 (the top-left corner), reference the result cell:

=B6

Step 4: Select the whole range.

Step 5: Go to Data > What-If Analysis > Data Table.

Step 6: For Row input cell, pick the price cell (B3). For Column input cell, pick the volume cell (B5).

Step 7: Click OK.

Now you have a full grid showing profit at every combination of price and volume. This is how financial models test profitability across many scenarios at once.

A word of caution: two-variable Data Tables can be slow on large workbooks because Excel calculates every combination. If the workbook has many formulas, the table may take a few seconds to update. That is normal.

When to Use Which Tool

  • Goal Seek: One target, one variable. “What value do I need?”
  • Scenario Manager: Compare 2 to 5 named scenarios side by side.
  • Data Tables: See how one or two inputs affect a result, at every step.

Put It Into Practice

Open a new workbook and type these values: in A1 write Product, in B1 write Price, in C1 write Units. Add three rows: Notebook 120 and 50, Pen 25 and 200, Bag 600 and 20. In D2 enter =B2*C2 and copy it down to D4, then in D5 enter =SUM(D2:D4) to get total revenue. Now try Goal Seek: go to Data, What-If Analysis, Goal Seek, set D5 to 20000 by changing C4, and watch how many bags you would need to sell. Next, build a one-variable Data Table to see revenue at different pen prices. Copy the revenue formula into a new area, list pen prices 20, 25, 30, 35 in a column next to it, select the whole block, open Data Table, point the column input cell at B3, and Excel fills in the revenue for each price. Finally, save a copy of the file, then use Scenario Manager to store three versions: low sales, expected sales, and high sales, each with different unit numbers. Switch between them and compare the totals. If any result looks wrong, check that your changing cells are labelled and that no formula still points at the old values.

Practical Example: Loan Affordability

You want a home loan of 50,00,000 at 8% for 20 years. Monthly EMI should not exceed 40,000. Can you afford it?

Set up a PMT formula:

=PMT(rate/12, years*12, -loan_amount)

Assume rate is in B2 (8%), years in B3 (20), loan in B4 (50,00,000), and EMI formula in B5.

The current EMI comes out to about 41,822 — slightly above your budget. You want to know: what loan amount gives an EMI of exactly 40,000?

Use Goal Seek:

  • Set cell: B5 (EMI)
  • To value: 40000
  • By changing cell: B4 (loan amount)

Goal Seek tells you the affordable loan amount — roughly 47,80,000. That is the kind of answer that makes this tool so useful in personal finance and business planning.

Frequently Asked Questions

Can Goal Seek work with two variables?

No. Goal Seek only changes one cell. For two variables, use a two-variable Data Table or Solver (an add-in).

Is there a limit to how many scenarios I can save?

No practical limit, but too many scenarios become hard to manage. Keep it to the ones you will actually compare.

Do Data Tables update automatically?

Yes, when the source values change. But in very large workbooks, they can slow down calculation. You can switch to Manual calculation (Formulas > Calculation Options) while working.

Why does my Data Table show the same value in every cell?

Usually because the input cell is not referenced correctly in the table setup. Double-check the row and column input cells.

Related guide: How to Build a Dashboard in Excel Without Any Add-ins → https://excelformulatutorials.info/excel-dashboard-guide/

Related guide: How to Analyze Sales Data in Excel with Pivot Tables → https://excelformulatutorials.info/how-to-analyze-sales-data-excel-pivot-tables/

Final Thoughts

What-If Analysis tools turn a passive spreadsheet into an active planning tool. Goal Seek answers “what do I need”. Scenario Manager answers “which plan is better”. Data Tables answer “how sensitive is my model”. Learn all three, use them appropriately, and you will make faster, better-informed decisions — which is really the whole point of using Excel in the first place.

Leave a Comment