Table of Contents Chapter 4 (The Art of Modeling with Spreadsheets)

Slides:



Advertisements
Similar presentations
Business Planning using Spreasheets-2 1 BP-2: Good Spreadsheet Practice  There is always the temptation to rush in and start entering data.  However.
Advertisements

© 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Lecture 15 Excel Basics (cont’d)
Spreadsheets in Finance and Forecasting Week 4: Using Formulae.
Wyndor Example; Enter data Organize the data for the model on the spreadsheet. Type in the coefficients of the constraints and the objective function.
Microsoft ® Office Excel ® 2003 Training Enter formulas CSNT, Inc. presents:
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents Chapter 2 (Linear Programming: Basic Concepts) Three Classic Applications.
BUSINESS DRIVEN TECHNOLOGY Decision Analysis Tools in Excel
McGraw-Hill/Irwin ©2008 The McGraw-Hill Companies, All Rights Reserved TECHNOLOGY PLUG-IN T4 PROBLEM SOLVING USING EXCEL Goal Seek, Solver & Pivot Tables.
Chapter 17: The binomial model of probability Part 2
Introduction to Management Science
Pre-defined System Functions Simple IF & VLOOKUP.
Example 6.1 Capital Budgeting Models | 6.3 | 6.4 | 6.5 | 6.6 | Background Information n The Tatham Company is considering seven.
Excel Lesson 4 Entering Worksheet Formulas
Chapter 2 Matrices Finite Mathematics & Its Applications, 11/e by Goldstein/Schneider/Siegel Copyright © 2014 Pearson Education, Inc.
Example 14.3 Football Production at the Pigskin Company
2-1 Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Chapter Topics Model Formulation A Maximization Model Example Graphical Solutions.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Three Classic Applications of LP Product Mix at Ponderosa Industrial –Considered limited.
Linear Programming Excel Solver. MAX8X 1 + 5X 2 s.t.2X 1 + 1X 2 ≤ 1000 (Plastic) 3X 1 + 4X 2 ≤ 2400 (Prod. Time) X 1 + X 2 ≤ 700 (Total Prod.) X 1 - X.
Example 6.2 Fixed-Cost Models | 6.3 | 6.4 | 6.5 | 6.6 | Background Information n The Great Threads Company is capable of manufacturing.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents Chapter 3 (The Art of Modeling with Spreadsheets) The Everglade Golden.
McGraw-Hill/Irwin © The McGraw-Hill Companies, Inc., Table of Contents Chapter 2 (Linear Programming: Basic Concepts) The Wyndor Glass Company.
Computational Methods for Management and Economics Carla Gomes Module 4 Displaying and Solving LP Models on a Spreadsheet.
Finite Mathematics & Its Applications, 10/e by Goldstein/Schneider/SiegelCopyright © 2010 Pearson Education, Inc. 1 of 86 Chapter 2 Matrices.
3 Components for a Spreadsheet Linear Programming Problem There is one cell which can be identified as the Target or Set Cell, the single objective of.
Technology Basics Creating Worksheet Formulas. 2 Understand Formulas Equations used to calculate values in cells are called formulas. Formulas consist.
The Art of Modeling with Spreadsheets Chapter 4: Hillier and Hillier.
Table of Contents Chapter 2 (Linear Programming: Basic Concepts)
Computer Literacy BASICS
Spreadsheets in Finance and Forecasting Presentation 8: Problem Solving.
Spreadsheet Modeling of Linear Programming (LP). Spreadsheet Modeling There is no exact one way to develop an LP spreadsheet model. We will work through.
Example 15.6 Managing Cash Flows at Fun Toys
Introduction to Linear Programming
Computational Biology, Part 12 Spreadsheet Basics I Robert F. Murphy Copyright  1996, All rights reserved.
GEM A Finance Survival Kit GEM2508 Frederick H. Willeboordse
We can make Product1 and Product2. There are 3 resources; Resource1, Resource2, Resource3. Product1 needs one hour of Resource1, nothing of Resource2,
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Excel Project 8 Formula Auditing, Data Validation, and Complex Problem Solving.
Advanced Excel Microsoft Excel Excel - Overview Calculator Create budgets, analyze results Perform Financial Analysis Creating charts Organizing.
Optimization using LP models Repco Pharmaceuticals (Ex 4.6) Ravi Krishna Ravula Dsc 8240.
Table of Contents Chapter 4 (The Art of Modeling with Spreadsheets) The Everglade Golden Years Co. Cash Flow Problem (Section 4.1)4.2–4.3 The Process of.
1. First of all we opened up a spreadsheet and started adding the data. 2. To work out the total cost for platinum, you times cell b5*c5 3. To calculate.
Example 15.7 Capital Budgeting at the Tatham Company Integer Programming Models.
Chapter 4 Financial Functions, Data Tables, and Amortization Schedules
GEK Frederick H. Willeboordse Compound & Prosper.
1 Analyzing Data Using Goal Seek & Solver Applications of Spreadsheets.
Copyright © 2008 Pearson Prentice Hall. All rights reserved Exploring Microsoft Office Excel 2007 Chapter 8 What-if Analysis Robert Grauer, Keith.
Spreadsheet Engineering Builders use blueprints or plans – Without plans structures will fail to be effective Advanced planning in any sort of design can.
What-If Analysis for Linear Programming
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
1 Chapter 13 Mathematical models of networks give us algorithms so computationally efficient that we can employ them to evaluate problems too big to be.
This lesson teaches you how to enter, edit, and manipulate cells and their data,—which are the building blocks of spreadsheets. Cells and Cell Data In.
ME 142 Engineering Computation I
Spreadsheet Engineering
Spreadsheet Engineering
A Multiperiod Production Problem
Spreadsheet Engineering
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
Table of Contents Chapter 5 (What-If Analysis for Linear Programming)
Performing What-if Analysis
Microsoft Excel 2003 Illustrated Complete
Microsoft Excel 2003 Illustrated Complete
Wyndor Example; Enter data
Navya Thum February 13, 2013 Day 7: MICROSOFT EXCEL Navya Thum February 13, 2013.
Copyright © 2004 The McGraw-Hill Companies, Inc. All rights reserved.
The General Ledger Setting Up the General Ledger
Linear Programming Excel Solver.
Solving Linear Optimization Problems Using the Solver Add-in
Copyright © 2004 The McGraw-Hill Companies, Inc. All rights reserved.
Table of Contents Chapter 2 (Linear Programming: Basic Concepts) The Wyndor Glass Company Product Mix Problem (Section 2.1)2.2 Formulating the Wyndor Problem.
Analyzing Multivariable Change: Optimization
Presentation transcript:

Table of Contents Chapter 4 (The Art of Modeling with Spreadsheets) The Everglade Golden Years Co. Cash Flow Problem (Section 4.1) 4.2–4.3 The Process of Modeling with Spreadsheets (Section 4.2) 4.3–4.11 Guidelines for Building “Good” Spreadsheet Models (Section 4.3) 4.12–4.16 Debugging a Spreadsheet Model (Section 4.4) 4.16–4.19 McGraw-Hill/Irwin Copyright © 2011 by the McGraw-Hill Companies, Inc. All rights reserved.

The Everglade Cash Flow Problem Year Projected Net Cash Flow (millions of dollars) 2011 –8 2012 –2 2013 –4 2014 3 2015 6 2016 2017 2018 7 2019 2020 10 4-2

The Everglade Cash Flow Problem Their short-term cash flow requirements cannot be met without borrowing. A long-term (10 year) loan can be taken with an interest rate of 7% A series of short-term loans (1 year) can be taken with a projected interest rate of 10% Question: Which loan (or combination of loans) should be taken, and in what amounts, in order to maximize their cash-balance position after 10 years? 4-3

The Process of Modeling Figure 4.1 A flow diagram for the general plan-build-test-analyze process for modeling with spreadsheets. 4-4

Plan: Visualize Where You Want to Finish A common stumbling block in the modeling process occurs right at the beginning—”How do I get started?” At this point it can be useful to ask the question—”Where do I want to end up?” What information do I need to provide in a report? What should the “answer” look like? What kinds of numbers need to be included in the recommendation? What information is needed in the Everglade Cash Flow problem? 4-5

Plan: Do Some Calculations by Hand Another common stumbling block arises when trying to enter a formula in one of the output cells. At this point, it can be useful to do some calculations by hand. Just pick some numbers for the changing cells and determine what the results should be. Suppose Everglade takes out a $6 million long-term loan and then adds short- term loans of $2 million in 2011 and $5 million in 2012. How much cash will they have left at the end of 2011? How much cash will they have left at the end of 2012? 4-6

Plan: Sketch Out a Spreadsheet Figure 4.2 Sketch of the spreadsheet for Everglade’s cash flow problem. 4-7

Build: Start with a Small Version If the model is complicated, start with a small, readily manageable version of the model. First make sure you’ve got the logic of the model worked out correctly for the small version. Only then expand it to full size. Figure 4.3 A small version (years 2011 and 2012 only) of the spreadsheet for the Everglade cash flow management problem. 4-8

Test: Test the Small Version of the Model Test the small model thoroughly. Try values in the changing cells for which you know the answers (at least approximately). Examples: All zeroes All ones Very large numbers Numbers for which you’ve done hand calculations Expand the model to full size (copying formulas to the later years). Test the large model in a similar way. 4-9

Analyze: Analyze the Model (Before Solver) Figure 4.4 A complete spreadsheet model for the Everglade cash flow management problem before calling on the Excel Solver. The entries in the changing cells, LTLoan (D11) and STLoan (E11:E20), are only a trial solution at this stage. 4-10

Analyze: Analyze the Model (After Solver) Figure 4.5 A complete spreadsheet model for the Everglade cash flow management problem after calling on the Excel Solver to obtain the optimal solution shown in the changing cells, LTLoan (D11) and STLoan (E11:E20). The target cell EndBalance (J21) indicates that the resulting cash balance in 2021 will be $2.92 million if all the data cells prove to be accurate. 4-11

Guidelines for Building “Good” Spreadsheet Models Enter the Data First Any spreadsheet model is driven by the data It is easier (and usually better) to build the model around the data Organize and Clearly Identify the Data Relevant data should be grouped (e.g. in tabular form) All data should be labeled Units should be identified Enter Each Piece of Data into One Cell Only Refer to the original data as needed This makes the model much easier to modify (only need to change data in one place) 4-12

Guidelines for Building “Good” Spreadsheet Models Separate Data from Formulas Avoid putting numbers directly in formulas Put numbers in data cells and refer to them as needed This makes all data visible and easier to modify Keep It Simple Avoid “power functions” of Excel if possible Break out complicated formulas into subtotals Use Range Names Refer to data cells and blocks of cells using Excel’s range name feature Range names make formulas and the Solver model much easier to read Care must be taken not to overuse range names and to make sure they remain correctly defined. 4-13

Guidelines for Building “Good” Spreadsheet Models Use Relative and Absolute References to Simplify Copying Formulas Whenever multiple related formulas will be needed, try to enter the formula just once, and then use Excel’s fill commands to replicate the formula. This makes the model easer to build and also reduces typos. Use Borders, Shading, and Colors to Distinguish Cell Types For example: Data cells in blue (no border) Changing cells in yellow (regular border) Target cell in orange (heavy border) Show Entire Model on Spreadsheet All data should be visible. All constraints should be on the spreadsheet (not buried in Solver), preferably in three consecutive cells. 4-14

Three Tests for a “Good” Spreadsheet Model You should be able to immediately identify the data cells, changing cells, and target cell. All elements of the model should be visible on the spreadsheet (including all constraints). You should not have to look in the Solver dialogue box to figure out the model. Each equation should be simple enough that you can tell what the equation is in each output cell without looking. 4-15

A Poor Spreadsheet Model Figure 4.7 A poor formulation of the spreadsheet model for the Everglade cash flow management problem. 4-16

Debugging a Spreadsheet Model: The Toggle Figure 4.8 The spreadsheet obtained by toggling the spreadsheet once to replace the values in the output cells by the formulas entered into those cells. Using the toggle feature in Excel once more will restore the view of the spreadsheet. Pressing control-~ toggles back-and-forth between showing values and showing formulas in the spreadsheet. 4-17

Dependents of the LT Loan Cell Figure 4.10 The spreadsheet obtained by using the Excel auditing tools to trace the dependents of the LT Loan value in cell D11 of the spreadsheet. 4-18

Precedents of the ST Interest (2012) Cell Figure 4.11 The spreadsheet obtained by using the Excel auditing tools to trace the precedents of the ST Interest (2012) calculation in cell G12 of the spreadsheet. 4-19