Switch between various sets of values by using scenarios Excel 2007
Author: mety Labels:: Switch between various sets of values by using scenarios Excel 2007
A scenario is a set of values that Microsoft Office 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. If several people have specific information that you want to use in scenarios, 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 that incorporates information from all the scenarios
Scenarios are part of a suite of commands called what-if analysis tools. When you use scenarios, you are doing what-if analysis. What-if analysis is the process of changing the values in cells to see how those changes will affect the outcome of formulas on the worksheet. You can use scenarios to create and save different sets of values and switch between them. You can also create a scenario summary report, which combines all the scenarios on one worksheet. For example, you can create several different budget scenarios that compare various possible income levels and expenses, and then create a report that lets you compare the scenarios side-by-side. Kinds of what-if analysis There are three kinds of what-if analysis tools in Excel: scenarios, data tables, and goal seek. Scenarios and data tables take sets of input values and project forward to determine possible results. Goal seek differs from scenarios and data tables in that it takes a result and projects backwards to determine possible input values that produce that result. Like data tables, scenarios help you explore a set of possible outcomes. Unlike data tables, scenarios from several different worksheets or workbooks can be merged. Scenarios make it easy to gather data about possible outcomes from a variety of sources, and then combine the data. Each scenario can accommodate up to 32 variable values. If you want to analyze more than 32 values, and the values represent only one or two variables, you can use data tables. Although it is limited to only one or two variables (one for the row input cell and one for the column input cell), a data table can include as many different variable values as you want. A scenario can have a maximum of 32 different values, but you can create as many scenarios as you want. For information about other what-if analysis tools, see the See Also section. Scenario basicsCreating scenarios Suppose that you want to create a budget but are uncertain of your revenue. By using scenarios, you can define different possible values for the revenue and then switch between scenarios to perform what-if analyses. Note This section explains how to use scenarios, and shows sample data and the results of applying scenarios that use that data. It does not provide step-by-step instructions. For step-by-step instructions, see the section Create a scenario, later in this article. For example, assume that your worst case budget scenario is Gross Revenue of $50,000 and Costs of Goods Sold of $13,200, leaving $36,800 in Gross Profit. To define this set of values as a scenario, you first enter the values in a worksheet, as shown in the following illustration:
Changing cells have values that you type in. The result cell contains a formula that is based on the changing cells (in this illustration, =B1-B2). You then use the Scenario Manager dialog box to save these values as a scenario, name the scenario Worst Case, and specify that cells B1 and B2 are values that change between scenarios. Note Although this example contains only two changing cells (B1 and B2), a scenario can contain up to 32 cells. Now suppose that your best case budget scenario is Gross Revenue of $150,000 and Costs of Goods Sold of $26,000, leaving $124,000 in Gross Profit. To define this set of values as a scenario, you create another scenario, name it Best Case, and supply different values for cell B1 (150,000) and cell B2 (26,000). Because Gross Profit (cell B3) is a formula— the difference between Revenue (B1) and Costs (B2)— you do not change cell B3 for the Best Case scenario. After you save a scenario, it becomes available on the list of scenarios that you can use in your what-if analyses. Given the values in the preceding illustration, if you chose to display the Best Case scenario, the values in the worksheet would change to resemble the following illustration:
Changing cells Result cell Merging scenarios There may be times when you have all the information in one worksheet or workbook that is required to create all the scenarios that you want to consider. However, you may want to gather scenario information from other sources. For example, suppose you are trying to create a budget for a larger company. You might collect scenarios from different departments, such as Payroll, Production, Marketing, and Legal, because each of these sources has different information to use in creating scenarios. You can gather these scenarios into one worksheet by using the Merge command. Each source can supply as many or as few changing cell values as you want. For example, you might want each department to supply expenditure projections, but only need revenue projections from a few. When you collect different scenarios from various sources, you should use the same cell structure in each of the workbooks. For example, Revenue might always go in cell B2 and Expenditures might always go in cell B3. If you use different structures for the scenarios from various sources, it can be difficult to merge the results. Tip Consider first creating a scenario yourself, and then sending your colleagues a copy of the workbook that contains that scenario. This makes it easier to be sure that all the scenarios are structured the same way. Scenario summary reports To compare several scenarios, you can create a report that summarizes them on the same page. The report can list the scenarios side by side or present them in a PivotTable report (PivotTable report: An interactive, crosstabulated Excel report that summarizes and analyzes data, such as database records, from various sources, including ones that are external to Excel.). A scenario summary report based on the preceding two example scenarios would look something like the following: Note By default, the summary report uses cell references to identify the changing cells and result cells. For this example, names were created for those cells to make the summary report easier to read. If you create names for the cells before you run the summary report, the report will contain the names instead of cell references. A note appears at the end of the summary report explaining that the Current Values column represents the values of changing cells at the time the Scenario Summary Report was created, and that the cells that changed for each scenario are highlighted in gray. For more information about creating a scenario summary report Create a scenarioBefore you create a scenario, you should have an initial set of values already on the worksheet. To make scenario summary reports easier to read, you should also consider naming the cells that you plan to use in scenarios.
Display a scenarioWhen you display a scenario, you switch to the set of values that are saved as part of that scenario. The scenario values are displayed in the cells that change from scenario to scenario, in addition to the results cells. For example, using the preceding scenarios, if you display the Best Case scenario, cell B1 displays 150000, cell B2 displays 26000, and cell B3 displays 124000.
Merge scenarios
Create a scenario summary report
Notes
|