








Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!









Decision Making
Using Excel
Introduction Most of the decision-analysis tools on the market focus on one specific analytical technique, like simulation or decision trees. They may be tailored to a specific in- dustry need, such as insurance claims modeling. Furthermore, the cost of these tools can run into the tens of thousands, even millions, of dollars—such as SAS and Cognos. One integrated set of tools that combines the best analytical methods, can be applied to different problems, and is reasonably priced is Microsoft Excel. The measure of any business intelligence solution is its ability to derive knowl- edge from data, as discussed in the core units of this book. This plug-in will exam- ine a few of the advanced business analysis tools that have the capability to identify patterns, trends, and rules and create “what-if” analyses. There are four areas in this plug-in:
result.
variables and constraints.
“what-if” scenarios containing multiple input values.
Creating Formulas Using the IF Function The IF logical function will return one value if a condition is TRUE and another value if the condition is FALSE. Use the IF function when you want to compare two items in your workbook. The IF function looks like this: =IF(logical_test,value_if_true, value_if_false)
Logical_test is any value or expression that can be evaluated to TRUE or FALSE. For example, A10 = 100 is a logical expression; if the value in cell A10 is equal to 100, the expression evaluates to TRUE. Otherwise, the expression evaluates to FALSE. This argu- ment can use any comparison calculation operator.
Value_if_true is the value that is returned if the logical_test is TRUE. For example, if this argument is the text string “Within budget” and the logical_test argument evaluates to TRUE, then the IF function displays the text “Within budget.” Note: Value_if_true can be another formula.
Value_if_false is the value that is returned if the logical_test is FALSE. For example, if this argument is the text string “Over budg- et” and the logical_test argument evaluates to FALSE, then the IF function displays the text “Over budget.” Note: Value_if_false can be another formula. To use the IF function follow these steps:
test for. Use cell references and/or values with logical operators. Figure T4.1 dis- plays the list of logical operators.
displayed if the Logical_test argument is true.
played if the Logical_test argument is false.
For example, in a loan analysis worksheet, you want to write a conditional ex- pression that examines the ratio of a loan amount to a purchase price. The logic for solving this is if the ratio is greater than 0.8, then the assessment is $300. Otherwise, the assessment is $0. To create a conditional expression, complete the following steps:
purchase price is greater than 0.8—the same criteria for displaying (or not) an assessment fee of $300.
the loan-to-price ratio is 0.875. Otherwise, nothing is displayed. When you are unsure of a function and want help writing it, you can use the Insert Function command. Executing the Insert Function command opens a dialog box that lists functions by categories and helps you build the function. To write an IF function using the Insert Function complete the following steps:
tion dialog box.
tion list box, and then click OK. The Function Arguments dialog box opens (see Figure T4.2).
line). Notice that the moment you type 0.8, the label TRUE appears to the right of
FIGURE T4. Logical Operators
Logical operators are used to compare numbers in two or more cells to a constant. = Equal to < Less than
Greater than ≤ Less than or equal to ≥ Greater than or equal to ≠ Not equal to NOT Logical Not AND Logical And OR Logical Or
box appears.
Goal Seek is used to adjust a single variable in a for- mula. Use the Solver feature to adjust multiple vari- ables in a formula, as described in the next section.
Solver
Solver is part of a suite of functions sometimes called what-if analysis tools used for optimizing problems that contain more than one variable. The Solver add-in utility is needed to analyze the scenarios in decision-making situations that involve consideration of values and constraints for several variables simultaneously. This powerful function uses multiple changing variables and constraints to find the optimal solution to solve a problem. For example, consider a coffee shop that currently sells three beverages: (1) reg- ular fresh-brewed coffee, (2) premium caffe latte, and (3) premium caffe mocha. The current price for regular coffee is set at $1.25, caffe latte at $2.00, and caffe mocha at $2.25, but the revenue potential is uncertain. What special emphasis (or marketing) should be given to each of the beverages to maximize revenue? Al- though the premium coffees bring in more money, their ingredients are more ex- pensive and they take more time to make than regular coffee. Making some basic calculations by hand is easy, but there needs to be some structure to the sales data in a worksheet so that periodic changes can be made and analyzed. To set up the Solver scenario, follow these steps:
Solver comes with the standard Excel package, but it has to be installed. To install Solver, do the following:
The first step in using the Solver command is to build a “Solver-friendly” worksheet. This involves creating a target cell to be the goal of your problem—for example, a formula that calculates total revenue—and assigning one or more variable cells that the Solver can change to reach the goal. To use Solver, complete the following:
D5 , D9 , and D13. These are the cells whose values the Solver needs to determine to maximize the weekly revenue.
constraints to use for forecasting.
FIGURE T4. Goal Seek Function
FIGURE T4. Goal Seek Worksheet
that include the formulas used as constraints. The limiting values for the constraints are listed in cells G11 through G13. No more than 500 total cups of coffee (both regu- lar and premium). No more than 350 cups of premium coffee (both caffe latte and caffe mocha). No more than 125 caffe mochas.
culated, as well as the Total Revenue (sum of D6, D10, and D14) in G.
be calculated for D5 and the value for cell G7 will be the sum of the values from D9 and D13. The calcula- tion of G8 = SUM of D5, D9, and D13.
variable cells you want the Solver to determine.
log box opens, as shown in Figure T4.8. Select the Set Target Cell text box (unless it already contains the correct reference), and then click cell G4 to insert $ G$4 as the target cell. The Equal To option button (Max) is already selected. Do not change this since the problem requests the maximum value for the target cell.
the dialog box. Select each of the variable cells by holding down the Ctrl key and clicking D5, D9, and D13. This places commas between the three cell entries in the text box: $D$5, $D$9, $D$13 (refer to Figure T4.9).
FIGURE T4.
Goal Seek Results
FIGURE T4.
Coffee Sales Data Sheet for Solver
Scenario Manager A scenario is a set of input values and corresponding results from calculations that Excel can save and report as needed. A worksheet can be used to conduct a “what-if” analysis on a particular set of data. Several input values in a worksheet might change depending on different situations or circumstances. Values that produce different results can be stored as scenarios. Excel’s Scenario Manager allows 32 different scenar- ios or groups of values to be defined. The Scenario Man- ager can then be used to selectively display the desired values or scenario in the worksheet. The Scenario Manager eliminates the need to have multiple copies of the same worksheet representing different situations. For each group of input values a scenario must be named and stored before it can be used.
Each group of input values or scenarios must be named and stored before it can be used. Scenarios are stored with the worksheet. To set up a scenario:
Figure T4.15).
store in a scenario.
the right side of the text box to manually select the cells that hold the Number of
FIGURE T4.
Solver Results Dialog Box
FIGURE T4.
Optimum Revenue for Solver Results
FIGURE T4.
Solver Parameters with Constraints
Technicians, Regular Hours, and Over Time Hours values.
values for cells D9, D10, and D11 as 1, 300, and 0, respectively, as shown in Figure T4.16. Click OK.
narios need to be created.
Single Contractor Overtime.
D10, type 300 and for cell D11 enter 40. The value in D9 remains at 1.
click Show. Excel reports that this project will need an additional $3,000, as shown in Figure T4.17.
Contractors No Overtime.
not, enter that range. Click OK to invoke the Scenario Values dialog box.
technician). Enter 2 in the text box for cell D9 and 0 in the text box for cell D11. This time in cell D10’s text box, type =300/2 since there will be two technicians to split the time. Click OK. A message box shown in Figure T4.18 says that Excel converted the formula into a value.
er dialog box.
though the total hours are 300. This scenario gives a completion cost of $15,200.
FIGURE T4. Editing Solver Forecast
FIGURE T4. Solver Solution
To create a Scenario Summary Report:
narios.
group box.
D16, D17. Result cells are the cells affected by the specified scenario.
FIGURE T4. Single Contractor Overtime Scenario
FIGURE T4. Message Dialog Box
FIGURE T4. Scenario Summary Report
Spotlight Video is a premier video rental company in Denver, Colorado, offering the latest selections on DVD, game, and VHS releases. After DVDs and VHS tapes have been viewed a certain number of times, their quality deteriorates to the point that Spotlight Video con- siders them to be defective. Furthermore, some customers own DVD and VHS players that are defective and can ruin Spotlight Video’s merchandise. Spotlight Video wants to maintain an inventory of DVDs and VHS tapes that are at least 85 percent acceptable; although 95 percent is preferable. However, since it can’t keep cus- tomers’ machines from damaging the rentals, Spotlight Video has had to relax its criterion
T
echnology can and does play a vitally important role in both supporting decision mak- ing and, in some instances, actually making decisions or recommendations. Microsoft Excel is spreadsheet software that has an integrated set of tools that combine the an- alytical methods that can be applied to different problems. If function, Goal Seek, Solver, and Scenario Manager are analysis tools that have the capability to identify patterns, trends, and rules and create“what-if” analyses.
FIGURE T4. Spotlight Video Report Sample
Hans Hultgren, the sales manager for DVD Sales, wants to maximize his profit on the sale of portable DVD players. He already has two portable models he plans to sell:
Products Retail Price Wholesale Cost Panasonic DVD–LS50 $349.95 $192.
Mintek MDP–1810 $199.95 $109.
Hans needs your help in calculating his maximum profit. First, he would like you to use the Web to locate the retail price of two other portable DVD players not listed in the table above. The wholesale price of each unit is 55 percent of the retail price for both units you find. Hans has two constraints:
types of DVD units must be less than $200,000.
You want to use Excel Solver to maximize the total profit for Hans with the constraints mentioned above and limiting the number of units to positive integers.
HotSprings Spas manufactures and sells two spa models: the Steamboat and the Classic. HotSprings Spas receives spa bodies from another manufacturer and then adds a pump and tubing to circulate the water. The Steamboat model demands 15.5 hours of labor and 14.5 feet of tubing. The Classic model requires 10.5 hours of labor and uses 20 feet of tub- ing. Based on selling patterns, the owner, Deborah Liebson, has determined that the Steamboat model generates a profit of $400 per unit, and the Classic model generates $345 profit. While Deborah would like a large labor capacity and sufficient tubing and mo- tors to build any number of spas, her resources are limited. For the next production period, Deborah has 2,650 labor hours, 3,450 feet of tubing, and 231 pumps available. Deborah
FIGURE T4. HotSprings Spa Template
needs assistance in figuring out how many Steamboat and Classic models to build in order to maximize her profit. Given the constraints above, use Solver to assist Deborah in her what-if analysis. Deborah has provided you with a screen shot (see Figure T4.21) of a template you can use to get started.
Joanne Krol wants to purchase a newer model automobile to replace her rusty 1989 car. The bank where Joanne has a checking account, US Bank, is advertising an annual inter- est rate of 6.75 percent for a three-year loan on used cars. By selling her old car and using some cash she has accumulated, Joanne has $3,000 available as a down payment. Under her current budget, Joanne figures that the maximum monthly loan payment she can af- ford is $300. She wants to find out the maximum car price she can afford and keep the monthly payment no higher than $300. She cannot alter the interest rate or the three-year term. Use the Excel Goal Seek command to figure out the highest purchase price Joanne can afford.