MSBA-175 · Lesson 9 of 12 · 24 min

What-if analysis and Goal Seek

▶ Video coming soon A video version of this lesson is on the way.

At the start of November, Rosalind brought three questions to Dagny's Monday session. How many weddings does Maple & Pine need in 2027 to cover a new full-time coordinator? What happens to the year if the average fee rises, stays flat or falls? And how do the three budget sheets add up into one? These are the what-if and consolidation skills in the MO-211 objective perform data analysis: summarize data from multiple ranges by using the Consolidate feature and perform what-if analysis by using Goal Seek and Scenario Manager. Data tables, the third what-if tool, are not named in the objective but appear in real models and are covered briefly.

The model comes first

Every what-if tool works on a model: input cells that hold assumptions, and formula cells that calculate results from them. The tools change inputs and watch results, so the model must be built properly first. Dagny's 2027 summary sheet had its inputs at the top in a shaded block, each with a name: Weddings (number of weddings), AvgFee (average wedding fee), CorporateRevenue, VariableCostPct (direct costs as a share of revenue), FixedCosts and NewHireCost. Below them, formulas calculated revenue, direct costs, gross margin and NetIncome.

The model's formula chain: revenue, direct costs, gross margin and net income, all built from named inputs.
=Weddings*AvgFee+CorporateRevenue
=Revenue*VariableCostPct
=Revenue-DirectCosts
=GrossMargin-FixedCosts-NewHireCost

Named inputs are not required, but they make what-if dialogs and reports much easier to read, because Scenario Manager and Goal Seek show names instead of addresses. The other requirement is that the result must actually depend on the input you change; Goal Seek on a cell that is not in the formula chain does nothing useful.

Goal Seek

Goal Seek finds the value of one input that makes a formula produce a result you choose. It is on Data > Forecast > What-If Analysis > Goal Seek, and its dialog has three boxes: Set cell (the formula cell), To value (the result you want) and By changing cell (the single input to adjust).

The Goal Seek dialog filled in with Set cell NetIncome, To value 0 and By changing cell Weddings. An arrow runs from the Weddings input through Revenue, Direct costs and Gross margin to Net income, and Goal Seek works backward along it to find about 36.9 weddings.
Goal Seek works backward from a result to the one input that produces it.

For Rosalind's first question, Dagny set NetIncome to 0 by changing Weddings. Goal Seek tried values until net income reached zero and reported that about 36.9 weddings would break even with the new coordinator. A fraction of a wedding is not possible, so the answer was 37, one fewer than the 38 expected. Goal Seek then offers OK, which keeps the new input value in the cell, or Cancel, which restores the original. Dagny chose Cancel and wrote the answer in a note, because she did not want the model left at an artificial value.

Worked problem

What fee covers the new hire at the current volume?

Maple & Pine expects 38 weddings in 2027. Rosalind wants net income of 25,000 after the new coordinator. What average wedding fee is needed?

Show solution
  1. Choose Data > What-If Analysis > Goal Seek.
  2. Set cell: NetIncome. To value: 25000.
  3. By changing cell: AvgFee.
  4. Click OK, read the result, and choose Cancel to restore the original fee.

Answer: Goal Seek returns the fee needed, which Dagny rounded up to the nearest hundred dollars for Rosalind's pricing discussion.

Goal Seek has limits. It changes exactly one input. The changing cell must contain a value, not a formula. It works by trial and error, so for unusual formulas it may stop at a value close to the target rather than exactly on it; File > Options > Formulas > Maximum Change affects how close. And it gives one answer: if several input values produce the target, it finds the one nearest to its starting point. For problems with several inputs and constraints, the Solver add-in is the tool, though it is not on MO-211.

Scenario Manager

A scenario is a named set of values for several input cells. Scenario Manager (Data > What-If Analysis > Scenario Manager) stores scenarios in a sheet, switches the model between them, and produces a summary that compares results side by side. Rosalind's second question, about fees rising, staying flat or falling, is a natural fit.

ScenarioWeddingsAvgFeeCorporateRevenueVariableCostPct
Cautious349,400120,0000.46
Expected389,900140,0000.44
Strong4410,500165,0000.43

To add a scenario, open Scenario Manager, click Add, type a Scenario name, and in Changing cells select the input cells (up to 32, which need not be next to each other; hold Ctrl to select several). Click OK, and the Scenario Values dialog asks for each input's value. Repeat for each scenario. Before adding the first one, it is wise to create a scenario holding the current values, often called "Original" or "Current", so you can get back to them; Excel does not do this automatically.

Selecting a scenario and clicking Show puts its values into the input cells, and the model recalculates. Clicking Summary creates a report on a new sheet. A Scenario summary lists each scenario's input values and the result cells you choose in Result cells; a Scenario PivotTable report shows the same data as a PivotTable. The summary uses cell names where they exist, which is why named inputs make it readable.

A scenario summary report with columns for Current Values, Cautious, Expected and Strong. Rows under Changing Cells list Weddings, AvgFee, CorporateRevenue and VariableCostPct. Rows under Result Cells list Revenue and NetIncome, with NetIncome negative in Cautious and positive in Expected and Strong.
A scenario summary compares the inputs and results of every scenario in one table.

Two features help when several people work on scenarios. Merge copies scenarios from another sheet or workbook into the current sheet, as long as the changing cells are in the same positions. And each scenario records who added or modified it in its Comment box. The Prevent changes and Hide options in a scenario take effect only when the sheet is protected.

The summary report is a static snapshot. If the model changes, the report does not update; create a new summary. Dagny added a line to the report sheet stating the date it was produced, then deleted the outline that Excel adds around summary reports before sending it.

Worked problem

Building the three-scenario report

Dagny wants Rosalind to see revenue and net income under Cautious, Expected and Strong assumptions in one table, with the model returned to its current values afterward.

Show solution
  1. In Scenario Manager, add a scenario named Current with the four input cells and their current values.
  2. Add Cautious, Expected and Strong with the values from the planning table.
  3. Click Summary, choose Scenario summary, and enter Revenue and NetIncome as Result cells.
  4. Show the Current scenario to restore the model, then review the new Scenario Summary sheet.

Answer: The summary sheet compares all four sets of inputs and results, and showing Current puts the model back where it started.

Data tables

A data table (What-If Analysis > Data Table) calculates a result for many values of one or two inputs at once and shows them as a grid. A one-variable table lists input values in a column and formulas across the top row; a two-variable table puts one input's values down the side, the other's across the top, and a single result formula in the top-left corner. The dialog asks for the Row input cell and Column input cell that those values replace. Dagny's two-variable table showed net income for 30 to 46 weddings against fees from 9,000 to 11,000. Data tables recalculate constantly, which is why lesson 1's Automatic Except for Data Tables option exists, and their result cells use the special TABLE function, which cannot be edited cell by cell.

Consolidate

Rosalind's third question was about combining budgets. Maple & Pine's 2027 budget is built in three sheets, Weddings, Corporate and Office, each kept by a different person with the same layout of cost categories but not always in the same order or with the same rows. Data > Data Tools > Consolidate summarizes data from several ranges, on other sheets or in other workbooks, into one table.

SettingChoiceEffect
FunctionSum, Count, Average, Max, Min and othersHow matching values are combined
All referencesOne range per sourceRanges can be on other sheets or in other workbooks
Use labels in Top row / Left columnTicked or notTicked: match by labels. Not ticked: match by position
Create links to source dataTicked or notTicked: formulas linked to the sources with an outline

The key decision is how the sources line up. If every source has the same layout in the same positions, consolidation by position works with no labels ticked. If the categories appear in different orders, or some sheets have rows others do not, consolidate by category: include the labels in each reference and tick Left column (and Top row if the column headings also vary). Excel then matches rows by their labels and creates one row for every label found in any source.

Worked problem

Consolidating three budget sheets

Each budget sheet has cost categories in column A and months in row 1, but the Corporate sheet lists its categories in a different order and adds a "Parking" row. Dagny wants one table of total costs by category and month, linked to the sources.

Show solution
  1. Select the top-left cell of an empty area on the summary sheet.
  2. Choose Data > Consolidate, Function Sum.
  3. Add each sheet's range including its labels, such as A1 to M20 on the Corporate sheet, clicking Add after each.
  4. Tick Top row, Left column and Create links to source data, then click OK.

Answer: Excel matches rows and columns by label, includes Parking once, and builds linked formulas grouped in an outline so each sheet's figures can be expanded under each total.

Consolidate remembers its references for the destination sheet, so running it again after the sources change refreshes the result. With Create links to source data, the result updates automatically, but the linked version cannot be changed later by editing the references; you delete it and consolidate again. Consolidate cannot use an Excel table name as a reference, so use ordinary ranges or names. For data that should be combined row by row rather than summarized, Power Query's Append, covered in MSBA-171, is the better tool.

Choosing the right tool

The four tools overlap, and the exam often describes a business question rather than naming the command. The quickest way to choose is to ask what is fixed and what is unknown. If the result is fixed and one input is unknown, use Goal Seek. If several inputs change together as a named story, use Scenario Manager. If you want to see a whole range of results for one or two inputs, use a data table. If the question is about adding up separate ranges rather than changing inputs, use Consolidate.

QuestionWhat is knownTool
How many weddings to break even?The target resultGoal Seek
What if fees fall and costs rise together?Several sets of inputsScenario Manager
Net income for every fee from 9,000 to 11,000?A list of input valuesData table
Total costs across three budget sheets?Several source rangesConsolidate

In practice, the tools work well in sequence. Dagny used Goal Seek to find the break-even volume, then built Cautious, Expected and Strong scenarios around it, then used a data table to show Rosalind how sensitive net income was to the fee. Consolidate came last, once the three budget sheets for 2027 were in, and its total fed the FixedCosts input on the summary sheet.

What the exam asks

MO-211 tasks on this objective are short and precise. A typical instruction reads something like: use Goal Seek to find the value of a named cell that makes another cell equal a stated amount, and keep the result. Note the last part: if the task says to keep the result, choose OK, not Cancel. Another typical task asks you to create a scenario with a stated name and values, or to produce a scenario summary with particular result cells. Read the names carefully, because the checker compares them exactly; "Strong" and "Strong case" are different scenarios.

Consolidate tasks usually name the function, the sources and whether to use labels or create links. If a task names a sheet and a range, type the reference or select it, click Add, and make sure the All references list contains each source once. A leftover reference from an earlier attempt is a common cause of totals that are too large; select it and click Delete before trying again.

Two practical points save time. First, all these dialogs accept names, so typing NetIncome is faster and less error-prone than clicking a cell on another part of the sheet. Second, Goal Seek and Scenario Manager both change the workbook, and Undo cannot always reverse a Show or a consolidation, so save before experimenting in a real model. In the exam, the project file is reset only if you restart the project, which costs time.

Common mistakes

  • MistakeChoosing OK after Goal Seek and leaving the model at an artificial value.

    InsteadChoose Cancel, or record the answer and restore the input.

  • MistakeGiving Goal Seek a changing cell that contains a formula.

    InsteadThe changing cell must contain a value the result depends on.

  • MistakeAdding scenarios without saving the current values first.

    InsteadCreate a Current scenario before the others.

  • MistakeExpecting a scenario summary to update when the model changes.

    InsteadRun Summary again; the report is a snapshot.

  • MistakeConsolidating by position when the sources list categories in different orders.

    InsteadInclude labels and tick Left column or Top row to consolidate by category.

Summary and key terms

  • What-if tools change inputs in a model and watch results; build the model with clear, named inputs first.
  • Goal Seek finds the one input value that makes a formula reach a target.
  • Scenario Manager stores named sets of up to 32 input values, shows them and creates summary reports.
  • Data tables show results for many values of one or two inputs at once.
  • Consolidate combines ranges from several sheets or workbooks by position or by label, optionally with links.
Goal Seek
A tool that adjusts one input until a formula returns a target value.
Scenario
A named set of values for a group of input cells.
Scenario summary
A report comparing the inputs and results of scenarios.
Changing cell
An input cell that a what-if tool adjusts.
Data table
A grid of results for different values of one or two inputs.
Consolidate
A command that summarizes data from several ranges into one table.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. How many changing cells can Goal Seek adjust?

    Show answer

    One.

  2. What is the maximum number of changing cells in a scenario?

    Show answer

    32.

  3. Which Consolidate options match data by label?

    Show answer

    Top row and Left column.

  4. What should you create before adding new scenarios?

    Show answer

    A scenario with the current values.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz