Microsoft KB Archive/93193

= Microsoft Knowledge Base =

Excel: Using More Than Nine Changing Cells in Scenario Manager
Last reviewed: July 12, 1996

Article ID: Q93193

The information in this article applies to:


 * Microsoft Excel for Windows, version 4.0
 * Microsoft Excel for the Macintosh, version 4.0

SUMMARY
The Scenario Manager in Microsoft Excel supports up to 6,400 changing cells. However, the Add Scenario dialog box allows you to set values for only nine changing cells. To use more than nine changing cells, specify the full range you want to use in the Changing Cells box in the Scenario Manager dialog box.

MORE INFORMATION
The Scenario Manager allows you to record and save different sets of input values that you can substitute in your worksheet model when performing &quot;what if&quot; analysis. The cells on your worksheet that contain these input values are called changing cells. That is, these are the cells containing values that may change with different scenarios.

When you have more than nine changing cells, the following message is displayed at the bottom of the Add Scenario dialog box:

Current values used for additional changing cells This message means that Microsoft Excel is using the current values in these cells on your worksheet for the scenario you are adding.

To create a scenario using more than nine changing cells, enter the values you want to use in the changing cells on the worksheet and add your new scenario.

To create a scenario using more than nine changing cells:

  From the Formula menu, choose Scenario Manager. If Scenario Manager doesn't show up on the Formula menu, exit Microsoft Excel and run the Microsoft Excel Setup program to install it. You may also add it through the Add-In Manager by by choosing Add-ins from the Options menu, then selecting the Add button and highlighting scenario.xla and choosing OK.  In the Scenario manager dialog box, make sure that the contents of the Changing Cells box are selected.  Select the cells on your worksheet that you want to use as the changing cells for this scenario. As you select cells, Microsoft Excel enters the cell references in the Changing Cells box in the Scenario Manager dialog box. Note: To select non-adjacent cells, hold down the CTRL key (COMMAND on the Macintosh) as you select your changing cells.  In the Scenario Manager dialog box, choose the Add button.  In the Add Scenario dialog box, type a name for this scenario in the Name box. Notice that Microsoft Excel enters the values from your worksheet in the nine boxes displayed in the Add Scenario dialog box.  In the Add Scenario dialog box, choose the OK button. In the Scenario Manager dialog box, choose the Close button. On your worksheet, type the values you want for your next scenario in the changing cells you selected.</li> Repeat steps 1 through 7.</li></ol>

Microsoft Excel saves your scenario, using the values from your worksheet and the name you provided.

To view your scenario:

<ol> From the Formula menu, choose Scenario Manager.</li> In the Scenario Manager dialog box, select the scenario you want to view from the Scenarios list.</li>  Choose the Show button. Microsoft Excel enters the values you saved with this scenario in the changing cells on your worksheet and your worksheet is recalculated to reflect these new values. </li> Choose the Close button.</li></ol>