How-to · Excel for Mac
How to run a what-if analysis in Excel on Mac: three built-in tools
To run a what if analysis in Excel on Mac, open the Data tab and choose What-If Analysis. Goal Seek, Data Table and Scenario Manager each ask for a few fields, then one OK.
Quick answer
- Open the workbook in the Excel desktop app for Mac. Excel for the web shows results but cannot run these tools.
- Goal Seek finds the input that produces one target result. It works with one changing cell.
- Data Tables show a grid of results for a list of inputs, with at most two variables.
- Scenario Manager stores named cases. Each scenario holds up to 32 changing cells.
- On Mac, all three tools sit under Data > What-If Analysis. Solver is an add-in you load first.
What you need
- Excel for Mac desktop app, such as Microsoft 365, Excel 2024 or Excel 2021
- A workbook with a formula that depends on the input you want to test
- Excel for the web does not run Goal Seek, Data Tables, Solver or Series
How to Run a what-if analysis in Excel on Mac in Excel on a Mac
Open the workbook in the Excel desktop app
Open the file in Excel for Mac, not Excel for the web. The web version shows results but cannot run Goal Seek, Data Tables, Solver or Series. Check your build under Excel > About Excel if you are unsure of your version.
Build the formula the answer depends on
Make sure the cell that holds your target result contains a formula. That formula must use the input you want to change, directly or through other cells. Goal Seek has nothing to adjust if the formula ignores the input.
Open the Data tab
Click the Data tab on the ribbon along the top of the Excel window. The What-If Analysis button lives on this tab.
Open Goal Seek
Click What-If Analysis, then choose Goal Seek. The Goal Seek dialog opens with three boxes: Set cell, To value and By changing cell.
Set the Set cell
In the Set cell box, enter the formula cell that holds your result, such as a Profit cell. Click the cell in the sheet, or type its address.
Enter the target value
In the To value box, type the result you want the Set cell to reach. For example, type the profit target you need.
Choose the changing cell
In the By changing cell box, select the input cell Excel should adjust, such as a Units cell. Goal Seek accepts one changing cell. For several inputs, use Solver.
Run Goal Seek and read the result
Click OK. Excel changes the input cell until the Set cell reaches the target, and it leaves the new value in the input cell. Check the answer against what you expect before you keep it.
Tip: Save a copy of the workbook first. Goal Seek overwrites the input's current value.
Set up a data table
List the input values in a column. Place the formula in the row above the first value, one column to the right. Select the whole block, including the formula and the input values.
Open the Data Table dialog
With the block still selected, go to the Data tab and open What-If Analysis, then choose Data Table.
Enter the input cell
For values in a column, type the input cell address in the Column input cell box. For values across a row, use the Row input cell box. A two-variable table takes both inputs in this one dialog before you click OK.
Click OK and recalculate
F9
Click OK, and Excel fills the grid with results. If the grid does not update after a change, select the formulas and press F9. On some keyboards, press Fn+F9.
Tip: If the workbook feels slow, set Excel > Preferences > Formulas and Lists > Calculation to Automatic except for data tables.
Open Scenario Manager and add cases
Go to Data > What-If Analysis > Scenario Manager, then click Add to create a scenario. Name it, select the changing cells for that case, and repeat Add for each case. Each scenario can hold up to 32 changing cells.
Build a scenario summary
In Scenario Manager, click Scenario Summary. Excel creates a summary or PivotTable report that lists the outputs for each scenario side by side. Make a new report after any input changes.
A what-if analysis asks a simple question. What happens to my result if this input changes? Excel for Mac answers that question with three built-in tools under the Data tab: Goal Seek, Data Table and Scenario Manager. Solver is a fourth tool, but it is an add-in, so you load it first. Each tool asks a slightly different question. Pick the one that matches yours before you open a dialog.
1
changing cell per Goal Seek run, so use Solver for several inputs
Use Goal Seek to find the result you want by adjusting an input value (Microsoft Support)2
input variables a Data Table takes on Mac, so use scenarios for more
Calculate multiple results by using a data table in Excel for Mac (Microsoft Support)32
changing cells allowed in each Scenario Manager scenario
Switch between various sets of values by using scenarios (Microsoft Support)0.8% to 1.8%
formula cells with errors in an earlier study of 50 spreadsheets
Impact of Errors in Operational Spreadsheets (arXiv:0801.0715)Find the What-If Analysis button on a Mac
Open your workbook in the Excel desktop app. Click the Data tab on the ribbon, then find the What-If Analysis button. Click it, and you see a menu with Goal Seek, Data Table and Scenario Manager. Microsoft's Mac pages use the menu path Data > What-If Analysis > Goal Seek, with the same pattern for the other two tools.
Some community answers describe a Forecast group on the Data tab, with What-If Analysis inside it. That layout matches the Windows ribbon. Microsoft's Mac steps do not mention a Forecast group. If your Data tab looks different, check your Excel version first, then look for What-If Analysis on the Data tab itself.
Pick the right tool for your question
Start with the question, not the menu. If you know the answer you want and need the input behind it, use Goal Seek. If you want to see many answers across a list of inputs, use a Data Table. If you want to compare named cases, use Scenario Manager. If several inputs must move together within limits, use Solver.
- Goal Seek: you know the output you want and need the input that produces it.
- Data Table: you want a grid of results for a list of input values.
- Scenario Manager: you want named cases, such as a base case and a downside case, side by side.
- Solver: you need to change several inputs at once, within limits. On Mac it is an add-in.
| Your question | Tool to use | What you provide |
|---|---|---|
| What input gives my profit target? | Goal Seek | One formula cell, one target value, one changing cell |
| How does profit move across a list of prices? | Data Table | A formula, a list of input values, and the input cell |
| How do the base case and downside case compare? | Scenario Manager | Named sets of changing cells, up to 32 per scenario |
| Which mix of several inputs gives the best result? | Solver (add-in) | Several changing cells and the limits on them |
How Goal Seek works on Mac
Goal Seek works backward. You name the result you want, and Excel changes one input until a formula reaches that result. The result must sit in a formula cell, called the Set cell. The input must be the changing cell, and the formula must depend on it. If the formula ignores the input, Goal Seek has nothing to adjust.

A Goal Seek example with a profit target
Suppose the Profit cell multiplies the Units cell by the margin per unit. You want profit to reach a target you choose. Set Profit as the Set cell, type the target in the To value box, and choose Units as the By changing cell. Click OK. Excel adjusts Units until Profit matches the target.
Read the answer before you keep it. Goal Seek reports that it reached the target. It does not tell you whether the input is realistic. A units figure with decimals may need rounding, and you should judge the result against what you know about the business. Excel changes the input cell in place, so save a copy first if the old value matters.
Data Tables: a grid of results for a list of inputs
A Data Table fills a grid with the result of one formula for each input value in a list. Use it when you want to see how an output moves across a range. For a column of values, place the formula one row above the first value and one column to the right. Select the whole block before you open the dialog.
Then open Data > What-If Analysis > Data Table. For values in a column, enter the input cell in the Column input cell box, then click OK. For values in a row, use the Row input cell box instead. A Data Table on Mac takes at most two variables, and a two-variable table takes both inputs in one dialog.
Worked example: profit at a range of prices
Use the same Profit formula from the Goal Seek example. Put a list of prices down a column, then point the Column input cell at the Price cell. Excel calculates profit for each price in the grid. You can scan the column to see where profit crosses your target, which often helps more than one exact answer.
The grid also shows sensitivity. Look at how much the output moves when the input moves a little. If a small price change swings profit a lot, that is the place to check your assumptions first.
Speed up data tables without slowing Excel down
Large data tables can make Excel feel slow, because each edit can trigger a full recalculation. Excel for Mac has a setting for this. Go to Excel > Preferences > Formulas and Lists > Calculation, then choose Automatic except for data tables. Recalculate the tables yourself when you need the numbers to refresh.
To recalculate, select the formulas in the table and press F9. On some keyboards, press Fn+F9. Microsoft's Mac pages do not list a keyboard shortcut for Goal Seek, Data Table or Scenario Manager, so use the menu for those tools.
Scenario Manager: keep named cases side by side
Scenario Manager stores sets of input values under names, so you can switch between them. Go to Data > What-If Analysis > Scenario Manager, click Add, and name the scenario. Select the changing cells for that case. Each scenario can hold up to 32 changing cells.
When every case is set up, click Scenario Summary. Excel builds a summary or PivotTable report that lists the outputs for each scenario. Scenario reports do not recalculate on their own. If you change an input later, make a new report to see the new numbers.
Scenarios suit a handful of named cases, such as a base case, a best case and a downside case. For a continuous range of one input, a Data Table is often the better fit.

Solver for several inputs at once
Goal Seek moves one input. When you need several inputs to move toward a best result, Microsoft points you to Solver. On Mac, Solver is an add-in, so it may not appear on the Data tab until you load it.
A 2023 community answer on Microsoft Q&A gives this path: Tools > Excel Add-Ins, check Solver Add-In, then click OK. The answer says Solver then appears at the right end of the Data tab, in the Analysis group. Microsoft's official Mac pages do not cover this path, so treat these as community steps, not official instructions.
Solver also needs an objective cell, changing cells and limits. This page covers only how to load it. Set up the model with the same care you would give any Goal Seek input.
Common mistakes that give wrong answers
- Using a plain value as the Set cell. Goal Seek needs a formula in the Set cell.
- Choosing an input the formula never uses. The changing cell must feed the formula, directly or through other cells.
- Treating one Goal Seek answer as the best answer. It finds a value that hits your target, nothing more.
- Forgetting that a Data Table stops at two variables. Switch to scenarios for more inputs.
- Reading an old scenario summary. Reports do not recalculate, so build a new one after changes.
- Running the analysis in Excel for the web. The web version shows results but does not run these tools.
- Overwriting a hard-coded input without a copy. Goal Seek replaces the input's value, so save first.
Check your model before you trust a result
A what-if result is only as good as the formulas behind it. A 2008 paper by Powell, Lawson and Baker cites an earlier study of 50 spreadsheets. That study found errors in 0.8% to 1.8% of all formula cells, depending on how errors were defined. The same paper examined 25 operational spreadsheets from five organizations. It found that many errors had no quantitative impact, while some remaining errors had substantial effects.
Before you act on a result, trace the formula that feeds the output. Change one input you already know, and confirm the output moves the way you expect. If the answer looks wrong, the formula is the first place to look.

Excel for the web, supported versions, and your build
Excel for the web can show what-if results, but it cannot run them. Microsoft's service description says Goal Seek, Data Tables, Solver and Series require the Excel desktop app. For Mac, Microsoft lists Excel for Microsoft 365, Excel 2024 and Excel 2021 among the applicable versions for these tools.
To check your build, open Excel and go to Excel > About Excel. The newest Mac build in Microsoft's release notes is 16.114.3 (Build 26102720), released October 27, 2026. Those October builds were quality and performance fixes, and the notes do not mention What-If changes.
Where to go next
If your what-if result feeds a summary, the pivot table steps for Mac show the next move. If your model uses dates, how to insert the current date in Excel on Mac covers that. For more Excel help, see the Excel help page.
Excel shortcuts for this on Mac
| To do this | Press |
|---|---|
| Recalculate selected data table formulas (Fn+F9 on some keyboards) | F9 |
If it does not work
- Goal Seek or Data Table is missing
- Confirm you are in the Excel desktop app for Mac, not Excel for the web. Then check your version under Excel > About Excel. Microsoft lists Microsoft 365, Excel 2024 and Excel 2021 for Mac among the applicable versions.
- Goal Seek returns a value that does not look right
- Check that the Set cell holds a formula and that the formula uses the changing cell. Undo the change, test the formula by hand with a known input, then run Goal Seek again.
- The data table grid does not update
- Go to Excel > Preferences > Formulas and Lists > Calculation. If it is set to Automatic except for data tables, select the formulas and press F9, or Fn+F9 on some keyboards.
- Scenario Summary shows numbers from an earlier run
- Scenario reports are static. Run Scenario Summary again after you change any input.
- Solver does not appear on the Data tab
- Load it with Tools > Excel Add-Ins, check Solver Add-In, then click OK. This path comes from a 2023 community answer, not official Microsoft steps. Save your workbook first.
- Excel says it cannot access Solver.xlam
- A community answer suggests this fix only when Solver.xlam exists in the Add-Ins folder. Back up your files, quit Excel, and move the com.microsoft.excel or Microsoft.Excel folder in ~/Library/Containers to the Trash. Reopen Excel and load Solver again. The fix does not cover a missing file.
Faster with Lazur
Do it faster: ask Lazur while you are in Excel
Hold ⌥ ⌘ and say what you want. Lazur sees your Excel window. Lazur draws a circle and a label around the button or menu you need.
- 1
Hold ⌥⌘ and talk
- 2
Lazur draws a circle and a label around the button or menu you need.
- 3
You stay in Excel. Nothing to copy into a chat window.
Free for 3 days, then $18/month. Download for Mac
You say“Where is the What-If Analysis button?”
Lazur · points at itLazur circles the What-If Analysis button on the Data tab and labels it. You do the clicking, and Lazur waits while you work through each step.
Questions people ask
Where is What-If Analysis in Excel for Mac?
It sits on the Data tab, as a button labeled What-If Analysis. Click it to see Goal Seek, Data Table and Scenario Manager. Microsoft's Mac pages give the path as Data > What-If Analysis.
Can I run Goal Seek in Excel for the web?
No. Microsoft's service description says Goal Seek, Data Tables, Solver and Series require the Excel desktop app. The web version shows results only, so open the file in Excel for Mac.
What is the difference between Goal Seek and a Data Table?
Goal Seek finds one input that produces one target result. A Data Table shows results for a whole list of inputs in a grid. Use Goal Seek to find a number, and a Data Table to see how the result moves.
Why does my data table show old numbers after I change an input?
The calculation setting may be Automatic except for data tables, which waits for you. Select the formulas in the table and press F9, or Fn+F9 on some keyboards.
Can Goal Seek change more than one cell?
No. Goal Seek works with one changing cell. For several inputs, Microsoft points to Solver, which is an add-in on Mac.
Are there keyboard shortcuts for What-If Analysis on Mac?
Microsoft's Mac pages do not list shortcuts for Goal Seek, Data Table or Scenario Manager. The one shortcut they list for this work is F9, which recalculates data tables.
Why does my Scenario Summary show numbers from an earlier run?
Scenario reports do not recalculate automatically. Build a new Scenario Summary after you change any input, and the report will show the current values.
Sources
- Use Goal Seek to find the result you want by adjusting an input value · Microsoft Support · checked 2026-11-09
- Calculate multiple results by using a data table in Excel for Mac · Microsoft Support · checked 2026-11-09
- Switch between various sets of values by using scenarios · Microsoft Support · checked 2026-11-09
- Excel for the web - Service Descriptions · Microsoft Learn · checked 2026-11-09
- Release notes for Office for Mac · Microsoft Learn · checked 2026-11-09
- How can I access goal seek from my macbook excel online? · Microsoft Q&A (community) · checked 2026-11-09
- I am having issues installing the SOLVER add-in in Excel on my Mac · Microsoft Q&A (community) · checked 2026-11-09
- Impact of Errors in Operational Spreadsheets (arXiv:0801.0715) · arXiv · checked 2026-11-09
Try Lazur free for 3 days
Hold a key and ask. Lazur sees your screen, points at the button and talks you through it, in any Mac app. No credit card.