Professional Documents
Culture Documents
What-If analysis in Excel allows you to explore different scenarios by changing specific values
in your spreadsheet to see how they affect your results. There are three main types of What-If
analysis in Excel:
1. Goal Seek:
Open your Excel file and select the cell where you want to find the desired result.
Go to the "Data" tab in the ribbon and click on "What-If Analysis."
Select "Goal Seek."
In the Goal Seek dialog box, set the "Set Cell" to the cell containing the formula you
want to change.
Set "To Value" to the target value you want.
Set "By Changing Cell" to the cell that contains the value you're willing to change.
Click "OK" and Excel will calculate the necessary value to achieve the goal.
2. Data Tables:
Data Tables are used to perform sensitivity analysis. They allow you to see how changing
two different input values can affect a formula.
Create a table with two sets of input values, one on the vertical axis and one on the
horizontal axis.
In a nearby area, set up a formula that references these input values.
Go to the "Data" tab and select "What-If Analysis," then choose "Data Table."
In the Data Table dialog box, set the "Row Input Cell" and "Column Input Cell" to the
cells containing the input values.
Excel will generate a table showing how different combinations of these inputs affect the
formula.
3. Scenario Manager:
Scenario Manager allows you to create, store, and view different sets of input
values for a scenario.
Go to the "Data" tab, select "What-If Analysis," and choose "Scenario Manager."
Click "Add" to create a new scenario.
Define a name for the scenario and set the values for the cells you want to change.
You can add multiple scenarios with different input values.
You can later switch between scenarios to compare results.
These are the main types of What-If analysis in Excel. They are powerful tools for exploring
different scenarios and understanding how changes in certain variables can affect your outcomes.