What-If Analysis with Scenario Manager
What-If Analysis with Scenario Manager
Home
Coding
HTMLGround
CSS Javascript SQL Python Java C C+
Jobs
What-If Analysis with Scenario Manager
Whiteboard
Tools
Scenario Manager is useful in the cases where you have more than two
variables in sensitivity analysis. Scenario Manager creates scenarios for each
set of the input values for the variables under consideration. Scenarios help
you to explore a set of possible outcomes, supporting the following −
If you want to analyze more than 32 input sets, and the values represent
only one or two variables, you can use Data Tables. Although it is limited to
only one or two variables, a Data Table can include as many different input
values as you want. Refer to What-If Analysis with Data Tables in this
tutorial.
Scenarios
A scenario is a set of values that Excel saves and can substitute
automatically on your worksheet. You can create and save different groups
of values as scenarios on a worksheet and then switch between these
scenarios to view the different results.
For example, you can have several different budget scenarios that compare
various possible income levels and expenses. You can also have different
loan scenarios from different sources that compare various possible interest
rates and loan tenures.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 1/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
If the information that you want to use in scenarios is from different sources,
you can collect the information in separate workbooks, and then merge the
scenarios from the different workbooks into one.
After you have all the scenarios you need, you can create a scenario
summary report −
Scenario Manager
Scenario Manager is one of the What-if Analysis tools in Excel.
To create an analysis report with Scenario Manager, you have to follow these
steps −
Step 1 − Define the set of initial values and identify the input cells that you
want to vary, called the changing cells.
Step 2 − Create each scenario, name the scenario and enter the value for
each changing input cell for that scenario.
Step 3 − Select the output cells, called the result cells that you want to
track. These cells contain formulas in the initial set of values. The formulas
use the changing input cells.
The Scenario Manager creates a report containing the input and the output
values for each scenario.
The steps for setting up the initial values for Scenarios are −
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 2/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
Define the cells that contain the results. The result cells contain
formulas.
Name the result cells appropriately.
Define the cells for Interest Rate, No. of payments and Type (Payment
at the beginning or end of the month).
Specify the initial values for the analysis in these cells as 12%,
360 and 0 respectively.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 3/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
As you can see that the input cells and the result cells are in column C with
the names as given in column D.
Creating Scenarios
After setting up the initial values for the Scenarios, you can create the
scenarios using Scenario Manager as follows −
The Scenario Manager Dialog box appears. You can observe that it contains
a message −
You need to create scenarios for each set of changing values in the Scenario
Manager. It is good to have the first scenario defined with initial values, as it
enables you to switch back to initial values whenever you want while
displaying different scenarios.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 4/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
Under Changing Cells, enter the references for the cells i.e. C3, C4
and C5 with the Ctrl key pressed.
Select the option Prevent changes under Protection and then click OK.
The Scenario Values dialog box appears. The initial values that you have
defined appear in each of the changing cells boxes.
Create three more scenarios with varying values in the changing cells as
follows −
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 5/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
Add Scenario dialog box appears. Note that C3, C4, C5 appear in the
Changing cells box.
The Scenario Values dialog box appears. The initial values appear in the
changing cells. Change the value of Interest_Rate to 0.13 and click Add.
The Add Scenario dialog box appears. Note that C3, C4, C5 appear in the
box under changing cells.
The Scenario Values dialog box appears. The initial values appear in the
changing cells. Change the value of NPER to 300 and click Add.
The Add Scenario dialog box appears. Note that C3, C4, C5 appear in the
Changing cells box.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 7/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
The Scenario Values dialog box appears. The initial values appear in the
changing cells. Change the value of Type to 1. Click OK as you have added
all the scenarios that you wanted to add.
The Scenario Manager dialog box appears. In the box under Scenarios,
You will find the names of all the scenarios that you have created.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 8/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
Scenario summary.
Scenario PivotTable report.
In the Scenario Summary dialog box, you can find these two Report types.
Scenario Summary
In the Result cells box, select the cell C6 (Here, we had put the PMT
function). Click OK.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 9/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
Changing Cells − Enlists all the cells used as changing cells. As you
have named the cells, Interest_Rate, NPER and Type, these appear to
make the report meaningful. Otherwise, only cell references will be
listed.
Result Cells − Displays the result cell specified, i.e. EMI.
Current Values − It is the first column and enlists the values of that
scenario which is selected in the Scenario Manager Dialog box before
creating the summary report.
For all the scenarios you have created, the changing cells will be
highlighted in gray.
In the EMI row, the result values for each scenario will be displayed.
You can make the report more meaningful by displaying the comments that
you added while creating the scenarios.
Click the + button to the left of the row containing the scenario
names. The comments for the scenarios appear in the row under the
scenario names.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 10/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
As you can observe, there are no scenarios as you have not yet added any.
Click Merge.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 11/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
As you can see, under Merge scenarios from, you have two boxes −
Book
Sheet
You can select specific worksheet from a specific workbook that contains the
scenarios, which you want to add to your results. Click the drop-down arrow
of Book to see the workbooks.
Bank1 sheet is displayed. At the bottom of the dialog box, the number of
scenarios found on source sheet is displayed. Click OK.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 12/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
The Scenario Manager dialog box appears. The two scenarios that were
merged into the Master workbook will be listed under Scenarios.
Click the Merge button. The Merge Scenarios dialog box appears. Now,
select Bank2_Scenarios from the drop-down list in the Book box.
Bank2 sheet is dislayed. At the bottom of the dialog box, the number of
scenarios found on source sheet are displayed. Click OK.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 13/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
The Scenario Manager Dialog box appears. The four scenarios that were
merged into the Master workbook are listed under Scenarios.
Click the Merge button. The Merge Scenarios dialog box appears. Now,
select Bank3_Scenarios from the drop-down list in the Book box.
Bank3 sheet is displayed. At the bottom of the dialog box, the number of
scenarios found on source sheet will be displayed. Click OK.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 14/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
The Scenario Manager Dialog box appears. The five scenarios that were
merged into the Master workbook will be listed under Scenarios.
Now, you have all the required scenarios to produce the Scenario summary
report.
Click the Summary button. The Scenario Summary dialog box appears.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 15/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
Displaying Scenarios
Suppose you are presenting your scenarios and you would like to
dynamically switch from one scenario to another and display the set of input
values and result values of the corresponding scenario.
Click DATA > What-if Analysis > Scenario Manager from the Data
Tools group. The Scenario Manager Dialog box appears. The list of
scenarios appear.
Select the scenario you want to display. Click Show.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 16/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
The values on the worksheet are updated to that of the selected scenario.
The result values are recalculated.
Click the Summary button in the Scenario Manager Dialog box. The
Scenario Summary dialog box appears.
Select the Scenario PivotTable report under Report type.
Type C6 in the Result cells box.
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 17/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
Get Started
Advertisements
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 18/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
Affiliates eBooks
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 19/20
10/11/23, 10:33 PM What-If Analysis with Scenario Manager
Contact Us
Tutorials Point India Private Limited,
Incor9 Building, Kavuri Hills, Madhapur,
Hyderabad, Telangana - 500081, INDIA
https://www.tutorialspoint.com/excel_data_analysis/what_if_analysis_with_scenario_manager.htm 20/20