Chapter 6  What-If Analysis

Create a One-Variable Data Table
  1. List substitution values in the left column or first row
  2. Enter formulas in the first row or left column (whichever was not used above)
  3. Create the one-variable data table
  4. Format the results of the data table
  5. Create custom number formats to disguise the formulas as headings
To complete a one-variable data table:
  1. Select entire table starting in the blank cell in the top-left corner
  2. Click What-If Analysis in the Data Tools group on the Data tab and select Data Table
  3. Enter address of the cell to be changed in the Data Table dialog box
  4. Click OK
Create a Two-Variable Data Table
Identify an Input Value with Goal Seek
To use Goal Seek:
  1. Click What-If Analysis in the Data Tools group on the Data tab
  2. Select Goal Seek to open the Goal Seek dialog box
  3. Enter the cell reference for the cell to be optimized in the Set cell box
  4. Enter the result you want to achieve (such as $300) in the To value box
  5. Enter the cell reference that contains the value of the variable to adjust (such as cost of car) in the By changing cell box
  6. Click OK
  7. When an answer appears, click OK to accept the change or Cancel to return to the original data
Use Scenario Manager
To create a scenario:
  1. Click What-If Analysis in the Data Tools group on the Data tab
  2. Select Scenario Manager to open the Scenario Manager dialog box
  3. Click Add to open the Add Scenario dialog box
  4. Enter a meaningful name in the Scenario name box
  5. Enter the input cells for the scenarios in the Changing cells box
  6. Click in the Comment box to display you name and the date the scenario is created
  7. Click OK to open the Scenarios Values dialog box
  8. Click Add to add another scenario and specify its values OR click OK to return to the Scenario Manager dialog box
To view your scenarios:
  1. Click What-If analysis in the Data Tools group on the Data tab
  2. Select Scenario Manager
  3. Select the name of the Scenario you want to view in the Scenarios list
  4. Click Show
Generate Scenario Summary Reports
To create a scenario summary report:
  1. Open the Scenario Manager dialog box
  2. Click Summary to open the Scenario Summary dialog box
  3. Click  Scenario Summary or Scenario PivotTable report and enter the reference for the cell(s) whose values change in the scenarios in the Result cells box
  4. Click OK
Load the Solver Add-in
To load Solver:
  1. Click the File tab, and then select Options
  2. Click Add-Ins
  3. Click the Manage arrow, select Excel Add-ins, and then click Go to open the Add-Ins dialog box
  4. Click the Solver Add-in check box in the Add-Ins available list and click OK
Optimize Results With Solver
To specify the objective and changing cells:
  1. Click Solver in the Analysis group on the Data tab to open the Solver Parameters dialog box
  2. Enter the cell containing the formula for which you want to optimize its value in the Set Objective box
  3. Click an option in the To section to specify what type of value you need to find for the target cell (such as Max, Min, or Value Of with a specified value)
  4. Enter the cell references that contain variables in the By Changing Variable Cells box
To specify the constraints:
  1. Click Add to the right of the Subject to the Constraints list to open the Add Constraint dialog box
  2. Enter the cell reference, the operator to test the cell references, and the constraint the cell needs to match (such as the down payment must be less than or equal to $7,000)
  3. Click OK to add the constraint and return to the Solver Parameters dialog box, or click Add to add the constraint and create another constraint
Optimize Results With Solver