Presentation is loading. Please wait.

Presentation is loading. Please wait.

What If Analysis Minggu 13. What-if analysis in Microsoft Excel What If Analysis, Slide 2Copyright © 2004, Jim Schwab, University of Texas at Austin What-if.

Similar presentations


Presentation on theme: "What If Analysis Minggu 13. What-if analysis in Microsoft Excel What If Analysis, Slide 2Copyright © 2004, Jim Schwab, University of Texas at Austin What-if."— Presentation transcript:

1 What If Analysis Minggu 13

2 What-if analysis in Microsoft Excel What If Analysis, Slide 2Copyright © 2004, Jim Schwab, University of Texas at Austin What-if analysis is a powerful strategy for understanding the relationships in a data set and using this understanding to improve decision making. In order for what-if analysis to work, the relationships between the entities in a workbook should be linked by formulas instead of filled in with actual amounts. Using formulas enables the workbook to recalculate when we change an entry in one of the relationships. We will demonstrate what-if analysis using a multi-worksheet budget for Brunswick, Maine which I found on the Internet. The Brunswick, Maine budget workbook contains a Summary worksheet and 29 detail worksheets, which provide details for each of the revenue and expenditure categories. The budget contains three versions: the first developed by the administrative departments in the city government, the second budget was presented by the city manager, and the third was the budget adopted by the city council. While all three budgets are similar, we do find areas where the city council cut expenditures from the departmental proposal, e.g. see the Public Works and Human Services detail worksheets.

3 Open the budget database What If Analysis, Slide 3Copyright © 2004, Jim Schwab, University of Texas at Austin We will use an old budget from Brunswick, Maine to demonstrate doing what-if analysis in Excel.

4 SUM function computed totals on budget detail worksheets What If Analysis, Slide 4Copyright © 2004, Jim Schwab, University of Texas at Austin Each of the detail budget pages contains the items of revenue or expenditure in a specific budget category. The Excel Sum function is used to total each column so that a change in any item in a category will automatically produce the correct total. First, select the detail worksheet Taxes Rev. Second, click on cell B11 to see the SUM function in the formula bar.

5 Displaying the formulas on the summary page - 1 What If Analysis, Slide 5Copyright © 2004, Jim Schwab, University of Texas at Austin In order to do what–if analysis, the various items on the worksheets must be connected by formulas so that a change in one item produces a change in the all the other items linked to the first item. If the worksheet cells contain the only numbers, a change in one item will not have an impact on the others. First, select the summary worksheet Summary. Second, to see the formulas on the summary worksheet, select the Options command from the Tools menu.

6 Displaying the formulas on the summary page - 2 What If Analysis, Slide 6Copyright © 2004, Jim Schwab, University of Texas at Austin Next, click on the View tab in the Options dialog box to bring this page to the fore. Finally, mark the Formulas checkbox and click on the OK button.

7 The formulas on the budget summary worksheet What If Analysis, Slide 7Copyright © 2004, Jim Schwab, University of Texas at Austin Every cell in the Summary worksheet contains a formula, function, or reference to another cell in the workbook, except for the cells Taxable Valuation in the tax calculation section of the worksheet which are not contained any other place in the workbook. For example, cell B6 on the Summary worksheet contains a reference to the cell on the detail worksheet that contains the sum function totaling the different tax items

8 Removing the display of formulas from the worksheet What If Analysis, Slide 8Copyright © 2004, Jim Schwab, University of Texas at Austin To change the cell contents back so that they display numeric and text entries, we clear the check box for Formulas in the Options dialog. After selecting the Options command from the Tools menu, clear the Formulas checkbox and click on the OK button.

9 Split worksheet so multiple parts can be viewed What If Analysis, Slide 9Copyright © 2004, Jim Schwab, University of Texas at Austin First, scroll down the worksheet until row 21 is the top row in the window. Second, select row 29 as the row below where we want to locate the split. Third, select the Split command from the Window menu.

10 'Total Revenues' is in multiple places on worksheet What If Analysis, Slide 10Copyright © 2004, Jim Schwab, University of Texas at Austin In the lower pane, scroll down so that row 50 is the top row in the pane. The cells for Total Revenues in the tax calculations section of the worksheet (yellow cells) contain references to the total revenue in the revenue estimates section of the budget (blue cells). This is done so that a change in one of the revenue categories also impacts the calculation of the tax rates.

11 'Total Expenditures' is in multiple places on worksheet What If Analysis, Slide 11Copyright © 2004, Jim Schwab, University of Texas at Austin In the upper pane, scroll down so that row 42 is the top row in the pane. The cells for Total Expenditures in the tax calculation section of the worksheet (yellow cells) contain references to the total expenditures in the budget summary (blue cells). This is done so that a change in the expenditure categories also impacts the calculation of the tax rates.

12 'Property Taxes' equals 'Required Property Tax' What If Analysis, Slide 12Copyright © 2004, Jim Schwab, University of Texas at Austin The difference between the expenditures and the available revenue represents the amount that needs to be collected in property taxes. The amount shown for Property Taxes in the revenue budget (blue cells) is a reference to the amount required from property taxes in the tax calculation section of the worksheet (yellow cells).

13 Removing the splitter bar from the worksheet What If Analysis, Slide 13Copyright © 2004, Jim Schwab, University of Texas at Austin To remove the splitter bar from the worksheet, select the Remove Split command from the Window menu. When we have issued the command, the splitter bar will disappear. When we used the Split command from the Window menu, Excel changed the menu command to Remove Split.

14 What impact does a change in expenditure have on the budget What If Analysis, Slide 14Copyright © 2004, Jim Schwab, University of Texas at Austin First, navigate to the General Government Exp. worksheet. Second, in the general expense category, the city council reduced the administrative request for city office buildings from $162,679 to $91,757. The $91,757 was part of the $2,618,151 total recommended in the 1997-98 Council budget.

15 Change in expenditure for municipal building What If Analysis, Slide 15Copyright © 2004, Jim Schwab, University of Texas at Austin Suppose that the fire department is insisting that the occupancy level in city offices is too large to be safe and have recommended restoring the allocation to the full amount requested in the administrative budget. We can use our budget workbook to study the impact of complying with this request. First, change the expenditure for the municipal building in the city council's budget in cell D16 so that it equals the amount in the 1997- 98 Department budget in cell B16. Enter the formula =B16 in cell D16. Second, the immediate impact is an increase in the Total for general government expenditures from $2,618,151 to $2,689,073 in cell D22.

16 Impact of changing expenditure on total expenditures What If Analysis, Slide 16Copyright © 2004, Jim Schwab, University of Texas at Austin First, navigate back to the Summary worksheet. First, on the summary worksheet, the total for General Government in the 1997-98 Council increases to $2,689,073 in cell D36 to match the total on the General Government worksheet. Second, this increase is reflected in the increase to $32,144, 925 in cell D45 for Total Expenditures.

17 Impact of changing expenditure on the tax calculations What If Analysis, Slide 17Copyright © 2004, Jim Schwab, University of Texas at Austin The increase in expenditures impacts all of the rows related to expenditures in the tax calculation section of the worksheet. With no change in revenues, an increase in expenditures increases the amount need from property taxes. With no increase in taxable property, an increase in expenditures increases the tax rate from $20.00 to $20.02. While an 8 cent increase in tax per $1,000 of valuation is not large fiscally, it could be large politically

18 Tracking the relationships among cells in the workbook What If Analysis, Slide 18Copyright © 2004, Jim Schwab, University of Texas at Austin Suppose that we had a question about the results we obtained in the what-if analysis and wanted to track the path of changes that resulted from the initial change in spending on municipal buildings. Excel can assist us with its auditing tools that show the relationships among cells by the blue arrows it adds to the worksheet. If we start with the first cell in the path, we can display subsequent linked cells with the Trace Dependents tool. If we start with the last cell in the path, we can display the path with the Trace Precedents tool, though this is usually a more complex display because one cell can have multiple precedents. These auditing tools can be invaluable when you are checking a workbook to make sure you have properly included all of the relevant cell links needed to make the workbook function effectively.

19 Activating the Auditing toolbar What If Analysis, Slide 19Copyright © 2004, Jim Schwab, University of Texas at Austin We can make the task to tracking dependents simpler if we activate the auditing toolbar. This will eliminate the need to access submenus each time we want to track the next dependent. To activate the Auditing toolbar, we select the Formula Auditing > Show Formula Auditing Toolbar from the Tools menu.

20 Selecting the source cell whose dependents we want to trace What If Analysis, Slide 20Copyright © 2004, Jim Schwab, University of Texas at Austin The Formula Auditing tool bar appears over the worksheet. First, navigate to the General Government Exp. Worksheet which contains spending projections for municipal buildings. Second, highlight cell D16 which contains the city council's initial allocation for municipal buildings, and enter the original amount, $91,757, entered for the 1997-98 Council budget.

21 Displaying the first dependency relationship What If Analysis, Slide 21Copyright © 2004, Jim Schwab, University of Texas at Austin First, with cell D16 selected, click on the Trace Dependents tool button. A blue auditing arrow appears on the worksheet. Second, the round dot marks the source cell of the dependency relationship. For the first dependency relationship, this cell will always contain a value, not a formula. A cell marked with a dot is also referred to as a precedent cell for the dependent cell marked with the arrow head. Third, the arrow end shows the first dependent cell. Dependent cells will always contain formulas that have the source cell as an input.

22 A dependency arrow to another worksheet What If Analysis, Slide 22Copyright © 2004, Jim Schwab, University of Texas at Austin Click again on the Trace Dependents tool button. This time the auditing tool show an arrow with a dashed line pointing to a worksheet icon. This is the auditing tool's message that the next dependent relationship in the chain is located on a different worksheet

23 Navigating to worksheet containing the dependent cell What If Analysis, Slide 23Copyright © 2004, Jim Schwab, University of Texas at Austin To navigate to the worksheet containing the dependent relationship, we double click on the arrow head pointing to the worksheet icon.

24 Completing the Go To dialog box What If Analysis, Slide 24Copyright © 2004, Jim Schwab, University of Texas at Austin Double clicking on the arrow head opens the Go To dialog box with the full name of the workbook, worksheet, and cell containing the dependent relationships. We highlight the one we are interested in. Click on the OK button to complete the navigation.

25 The dependent cell on another worksheet What If Analysis, Slide 25Copyright © 2004, Jim Schwab, University of Texas at Austin The Go To dialog box indicated that the dependent cell was D36 on the Summary worksheet, which is exactly where we end up.

26 Dependent relationships on Summary worksheet What If Analysis, Slide 26Copyright © 2004, Jim Schwab, University of Texas at Austin First, click on the Trace Dependents tool button until there are no additional dependent relationships (6 times). Each time you click on the tool button, Excel displays one additional relationship. Note that many cells in the chain have both a blue dot and a blue arrow, indicating that they are simultaneously a source for some cell and a dependent of another cell. Second, highlight a cell with an arrow head in it, e.g., D45, and examine the contents of the formula bar. Third, we see in the formula bar that the source cell for this relationship (D36) is included in the range of cells (D36:D44) summed in the dependent cell D45.

27 The end of a chain of dependent relationships What If Analysis, Slide 27Copyright © 2004, Jim Schwab, University of Texas at Austin As we track through the chain of blue arrows, we will eventually reach a cell that contains a dependency arrow head, but no source dot. This arrow head marks the end of the path for one of the chains. There are no additional dependency relationships for this cell.

28 A second terminal cell in the chain of dependent cells What If Analysis, Slide 28Copyright © 2004, Jim Schwab, University of Texas at Austin There is an additional terminal cell in the chain of dependent relationships linking back to spending on municipal buildings. Recall, when we set up the worksheet, that we linked Property Taxes in the Revenue section of the budget to the amount of property tax required in the tax collection section of the budget. Excel has tracked this linkage though it is difficult to see because the blue shafts of the connecting arrows overlays the arrows leading to the tax rate cell. However, if we look carefully, we can see an arrow head in cell D28, which links the calculated amount for property taxes in cell D59. Cell D28 is, in turn, a precedent cell for cell D30, which is the second terminal cell in our chain of dependencies.

29 Clear the blue auditing arrows from the worksheet What If Analysis, Slide 29Copyright © 2004, Jim Schwab, University of Texas at Austin To remove the blue auditing arrows from the worksheet, we click on the Remove all Arrows tool button. Note we can also remove dependency arrows one at a time by clicking on the Remove Dependent Arrows tool button to the right. This only clears the arrows from the active worksheet. If we want to clear the arrows from other worksheets, we must navigate to that worksheet before using he Remove All Arrows tool. When we have removed the blue arrows, close the Formula Auditing tool bar.

30 Excel contains another tool that can be very useful in what-if analysis that starts with a desired result and computes how other cells must change to achieve this result. Unfortunately, it only works for cells that contain an actual value in the cell that is the target of the change. It will not work for cells which have a formula. In other words, Goal Seek will work back one relationship in a chain of linked cells, but cannot work back past that. We can, of course, remove the formulas in the chain of precedents and continue to use ‘Goal Seek’ to work backward in the sequence of changes. Nonetheless, when we meet this requirement, it is a useful tool. In the tax calculation section of the Brunswick budget, the tax rate is computed by dividing the needed amount of property tax revenue by the total assessed value of taxable property in the tax district. Now, suppose one of the council members says that he made a campaign promise to reduce the property tax rate to $19.75 per $1000 of taxable property. Before he will vote for the budget, he wants to make sure that everything has been done to try to keep this campaign promise. Knowing he doesn’t have the votes on the council to reduce spending and unable to propose any new sources of revenue, he proposes looking at the way property values are assessed. Using Goal Seek in What-if Analysis - 1 What If Analysis, Slide 30Copyright © 2004, Jim Schwab, University of Texas at Austin

31 He claims that if the assessment office were a little more aggressive in setting property values, the total valuation could be increased enough to reduce the tax rate without causing any real hardships on taxpayers. The council focuses on the question of what would the Taxable Valuation have to be in order to reduce the tax rate to $19.75. Using Goal Seek in What-if Analysis - 2 What If Analysis, Slide 31Copyright © 2004, Jim Schwab, University of Texas at Austin

32 Finding the answer by trial and error What If Analysis, Slide 32Copyright © 2004, Jim Schwab, University of Texas at Austin We can try to find a solution by trial and error. We change the contents of cell D64 from $916,000,000 to $920,000,000. This reduced the tax rate from $20.00 to $19.91, falling short of the goal.

33 A second round of trial and error solutions What If Analysis, Slide 33Copyright © 2004, Jim Schwab, University of Texas at Austin Next, we increase cell D64 to $925,000,000. Again the tax rate decreases somewhat, but falls short of the goal. Trial and error could take a long time, so we decide to use Excel's Goal Seek tool. Next, we increase cell D64 to $925,000,000. Again the tax rate decreases somewhat, but falls short of the goal. Trial and error could take a long time, so we decide to use Excel's Goal Seek tool.

34 Using the Goal Seek tool What If Analysis, Slide 34Copyright © 2004, Jim Schwab, University of Texas at Austin First, we select Goal Seek from the Tools menu.

35 The Goal Seek dialog box What If Analysis, Slide 35Copyright © 2004, Jim Schwab, University of Texas at Austin When we select Goal Seek from the Tools means, it opened the Goal Seek dialog box. First, in the Goal Seek dialog, we enter the cell whose value we want to set, D66. Second, we enter the value we want this cell to contain, 19.75. Third, we tell Excel which cell to change to meet our objective, cell D64. Fourth, we click on the OK button to complete this action.

36 Goal Seek produces a solution What If Analysis, Slide 36Copyright © 2004, Jim Schwab, University of Texas at Austin First, Goal Seek computes the changed value and enters it into the designated cell. Taxable Valuations would have to increase to $927,613,554 to reduce the Tax Rate to 19.75. The council can debate the political feasibility of the solution. Second, Goal Seek returns the Goal Seek Status dialog box to inform us that it has found a solution. We click on the OK button to accept the solution.

37 A second problem for Goal Seek What If Analysis, Slide 37Copyright © 2004, Jim Schwab, University of Texas at Austin Impressed with Goal Seek's ability to answer the question, another council member asks it to compute what decrease in total expenditures in cell D54 would be required to reduce the Tax Rate to 19.75, keeping the Taxable Valuation at $916,000,000. First, we change the value in cell D64 back to its original value, $916,000,000. Second, we select Goal Seek from the Tools menu.

38 Complete the Goal Seek dialog box What If Analysis, Slide 38Copyright © 2004, Jim Schwab, University of Texas at Austin First, in the Goal Seek dialog, we enter the cell whose value we want to set, D66; the value we want this cell to contain, 19.75; and which cell to change to meet our objective, cell D54. Second we click on the OK button to complete this action.

39 A goal seek error message What If Analysis, Slide 39Copyright © 2004, Jim Schwab, University of Texas at Austin When we click on the OK button to complete this action, Excel informs us that cell D54 must contain a value instead of the formula which it now contains.

40 Change the cell from a formula to its value What If Analysis, Slide 40Copyright © 2004, Jim Schwab, University of Texas at Austin First, with cell D54 highlighted, we select the Copy command from the Edit menu to copy the cell’s contents to the clipboard Second, with cell D54 still highlighted, we select Values from the drop down menu for the Paste tool button. Cell D54 now contains value 32,074,003.

41 Using the Goal Seek tool with the changed value What If Analysis, Slide 41Copyright © 2004, Jim Schwab, University of Texas at Austin First, we select Goal Seek from the Tools menu.

42 Complete the Goal Seek dialog box with the changed value What If Analysis, Slide 42Copyright © 2004, Jim Schwab, University of Texas at Austin First, in the Goal Seek dialog, we enter the cell whose value we want to set, D66; the value we want this cell to contain, 19.75; and which cell to change to meet our objective, cell D54. Second we click on the OK button to complete this action.

43 Goal Seek thinks if found and answer What If Analysis, Slide 43Copyright © 2004, Jim Schwab, University of Texas at Austin First, Goal Seek computes a solution and enters it into the designated cell. Second, Goal Seek returns the Goal Seek Status dialog box to warn us that it may not have found a solution. The solution is so far off that is obviously an error, as Excel suspects. We should click on the Cancel button to reject the solution. Goal Seek works well for relationships involving two cells, when the cell for which we want to set the value contains a formula and the cell whose value we want Excel to change contains a value. When our problem meets these requirements, Goal Seek is a useful tool. When our problem does not meet these requirements, we revert to Trial and Error solutions.


Download ppt "What If Analysis Minggu 13. What-if analysis in Microsoft Excel What If Analysis, Slide 2Copyright © 2004, Jim Schwab, University of Texas at Austin What-if."

Similar presentations


Ads by Google