Spreadsheet Engineering

Slides:



Advertisements
Similar presentations
Sensitivity Analysis A systematic way of asking “what-if” scenario questions in order to understand what outcomes could possibly occur that would effect.
Advertisements

Benchmark Series Microsoft Excel 2013 Level 2
Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin TECHNOLOGY PLUG-IN T3 PROBLEM SOLVING USING EXCEL.
Introduction to Microsoft Excel 2010 Chapter Extension 3.
Chapter 1 PowerPoint INTRODUCTION.
Developing an Excel Application
Tutorial 8: Developing an Excel Application
Chapter 07: Lecture Notes (CSIT 104) 1111 Exploring Microsoft Office Excel 2007 Chapter 7 Data Consolidation, Links, and Formula Auditing.
1 CA202 Spreadsheet Application Combining Data from Multiple Sources Lecture # 6.
Chapter 6 Financial Forecast. Agenda Developing a financial forecast model Advanced formatting Using the scenario manager to facilitate decision-making.
EXCEL Spreadsheet Basics
Chapter 15 Creating Database Forms and Reports Introduction Forms Reports.
Chapter 5: Database Forms and Reports
MANAGEMENT SCIENCE The Art of Modeling with Spreadsheets STEPHEN G. POWELL KENNETH R. BAKER Compatible with Analytic Solver Platform FOURTH EDITION CHAPTER.
Practical Computing by Lynn Hogan. Practical Computing Chapter 8 Creating Spreadsheets (Using Microsoft Excel 2007)
Introduction to Spreadsheets Presented by Frank H. Osborne, Ph. D. © 2005 Bio 2900 Computer Applications in Biology.
© Copyright 2011 John Wiley & Sons, Inc.
MANAGEMENT SCIENCE The Art of Modeling with Spreadsheets STEPHEN G. POWELL KENNETH R. BAKER Compatible with Analytic Solver Platform FOURTH EDITION CHAPTER.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
LOGO Chapter V Formattings 1. LOGO Overview  Conditional formatting  Working with tables  Filtering  Sorting  Freeze panes  Pivot tables  How to.
Lesson 11: Maximizing Site Design Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
Developing Effective Reports
Lesson 13: Building Web Forms Introduction to Adobe Dreamweaver CS6 Adobe Certified Associate: Web Communication using Adobe Dreamweaver CS6.
PowerPoint Presentation for Dennis, Wixom & Tegarden Systems Analysis and Design Copyright 2001 © John Wiley & Sons, Inc. All rights reserved. Slide 1.
Working with a Database
Financial Statement Modeling & Spreadsheet Engineering “Training in spreadsheet modeling improves both the efficiency and effectiveness with which analysts.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 7 BACKNEXTEND 7-1 LINKS TO OBJECTIVES Record & run a macro Record & run a macro Save as a macro-
5 - 1 Chapter 5: Spreadsheet Engineering Management Science: The Art of Modeling with Spreadsheets, 3e S.G. Powell K.R. Baker © John Wiley and Sons, Inc.
5 - 1 Chapter 5: Spreadsheet Engineering The Art of Modeling with Spreadsheets S.G. Powell and K.R. Baker © John Wiley and Sons, Inc. PowerPoint Slides.
Using a Spreadsheet Chapter 5.
INSERT BOOK COVER 1Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall. Exploring Microsoft Office Excel 2010 by Robert Grauer, Keith.
3 - 1 Chapter 3: Basic Excel Skills Management Science: The Art of Modeling With Spreadsheets, 2e PowerPoint Slides Prepared By: Alan Olinsky Bryant University.
1 Data List Spreadsheets or simple databases - a different use of Spreadsheets Bent Thomsen.
7 - 1 Chapter 7: Data Analysis for Modeling PowerPoint Slides Prepared By: Alan Olinsky Bryant University Management Science: The Art of Modeling with.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Excel 2010 © 2011 The McGraw-Hill Companies,
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Lesson 1 Introduction.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Copyright © 2008 Prentice-Hall. All rights reserved. What Can I Do with a Spreadsheet.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design Copyright 2000 © John Wiley & Sons, Inc. All rights reserved. Slide 1 Systems.
4 - 1 Chapter 4: Advanced Excel Skills Management Science: The Art of Modeling with Spreadsheets, 3e S.G. Powell K.R. Baker © John Wiley and Sons, Inc.
LINKS TO OBJECTIVES Multiple Worksheets Multiple Worksheets Move, Copy and Paste Cells Move, Copy and Paste Cells Split into Windows Freeze Panes Range.
Computer Literacy BASICS: A Comprehensive Guide to IC 3, 5 th Edition Lesson 19 Organizing and Enhancing Worksheets 1 Morrison / Wells / Ruffolo.
5 - 1 Chapter 5: Spreadsheet Engineering PowerPoint Slides Prepared By: Alan Olinsky Bryant University Management Science: The Art of Modeling with Spreadsheets,
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 5 BACKNEXTEND 5-1 LINKS TO OBJECTIVES Transpose data Paste with mathematical calculation Paste.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 15 Advanced Tables.
Copyright 2007, Paradigm Publishing Inc. ACCESS 2007 Chapter 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES Modify a Table – Add, Delete, Move Fields Modify a Table.
Slide 5-1 Chapter 5 Terms Applications Software for Business Introduction to Information Systems Judith C. Simon.
Copyright © 2008 Pearson Prentice Hall. All rights reserved Copyright © 2008 Prentice-Hall. All rights reserved. Committed to Shaping the Next.
Spreadsheet Engineering Builders use blueprints or plans – Without plans structures will fail to be effective Advanced planning in any sort of design can.
1. 2 Word Processing Word Processing is writing words and sentences on the computer. It is easy to change or move text in a word document. People use.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Working with Data Lists.
Excel 2007 Part (3) Dr. Susan Al Naqshbandi
MANAGEMENT SCIENCE The Art of Modeling with Spreadsheets STEPHEN G. POWELL KENNETH R. BAKER Compatible with Analytic Solver Platform FOURTH EDITION OPTIMIZATION.
1 Using Conditional Formatting & Data Validation Applications of Spreadsheets.
Sensitivity Analysis A systematic way of asking “what-if” scenario questions in order to understand what outcomes could possibly occur that would effect.
PowerPoint Presentation for Dennis & Haley Wixom, Systems Analysis and Design, 2 nd Edition Copyright 2003 © John Wiley & Sons, Inc. All rights reserved.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
Microsoft Excel Prepared by the Academic Faculty Members of IT.
An electronic document that stores various types of data.
6 - 1 Chapter 6: Analysis Using Spreadsheets PowerPoint Slides Prepared By: Alan Olinsky Bryant University Management Science: The Art of Modeling with.
Excel Chapter 1 Creating a Worksheet and an Embedded Chart
Chapter 3: Basic Excel Skills
Chapter 4 PowerPoint Spreadsheet Analysis.
Excel Tutorial 8 Developing an Excel Application
Spreadsheet Engineering
Spreadsheet Engineering
Spreadsheet Engineering
Chapter 5 Spreadsheet Design
Spreadsheet Engineering
Developing an Excel Application
Structured COBOL Programming
Presentation transcript:

Spreadsheet Engineering Chapter 3 PowerPoint Spreadsheet Engineering Power Point Slides Revised By: Dann Anthony Maurno, nSight, Inc.

Spreadsheet Engineering Spreadsheet engineering is akin to structural and civil engineering. Builders use blueprints or plans. Without plans, structures will fail to be effective. Advanced planning in any sort of design can speed up implementation. Spreadsheets are no different from other arenas of design. Engineering and advanced planning aid effectiveness, and reduce rework and costs. Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Spreadsheet Design An efficient process minimizes time spent. An effective process yields results that meet users’ requirements. Good design helps analysts spend the majority of their effort improving decisions, rather than building and fixing models. Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

The Phases of Spreadsheet Modeling Spreadsheet modeling is a creative process. Still, every spreadsheet passes through three predictable stages: Designing Building Testing Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Example: Influence Chart Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Designing a Spreadsheet Plan: Sketch the Spreadsheet Organize the Spreadsheet into Modules Start Small Isolate Input Parameters Design for Use Keep it Simple Design for Communication Document Important Data and Formulas Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Plan: Sketch the Spreadsheet “Measure twice, cut once.” Decreases time spent correcting mistakes. Turn computer off and think before beginning. Begin with a sketch: Physical layout of major elements Rough indication of calculation flow Anticipate model’s ultimate uses. Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Organize the Spreadsheet Into Modules Group like items and separate unlike items. Separate: Data Decision variables Outcome measures Detailed calculations Influence diagrams aid with this design. Consider the flow of information. Which information needs to pass from one group to another? Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Start Small Sketch a full design but do not build all at once. Isolate one module, then build and test that module. Start with one customer, one month, before building a customer base or year. Local mistakes are much easier to detect than when they are part of the global model. Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Isolate Input Parameters Place parameters in a single location away from calculations. So they are easy to identify, change. Formulas should only contain cell references, not numerical values. Assists in: Identifying parameters Sensitivity analysis Documenting assumptions behind parameters Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Design for Use Anticipate who will use the spreadsheet. What type of questions will be asked? Make it easy to change common parameters. Make it easy to find key outputs. Group in one place Place outputs near inputs. Thus, details of model do not interfere with analysis Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Keep It Simple Complex spreadsheets: Require more time and effort to build Are much more difficult to debug Keep formulas short. Decompose complex calculations into intermediate steps. Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Design for Communication Spreadsheets’ lives are often longer than expected. Use visual cues that reinforce the model’s logic. Use informative labels Use blank spaces Use outlines, color, bold fonts, as appropriate Split windows can aid in viewing. Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Document Important Data and Formulas Record source for important parameters. Explain important formulas. Use Cell Comments to describe cell contents. Consider a separate module to list assumptions. Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Document Important Data/Formulas: Use Cell Comments Insert Cell Comment – Review►Comments►New Comment Different Display options (Advanced ► Display ► For cells with comments, show): Comments and indicators Indicators only, and comments on hover No comments or indicators – neither comment nor indicator visible Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Workbook Design Use separate sheets to group similar kinds of information. Each worksheet has a well-defined purpose, in natural order, with a descriptive name. Design workbooks for ease of navigation and use. Revealing names, hyperlinks, buttons. Design a workbook as a decision-support system. Protect workbooks from unwanted changes. Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Example: Northern Museum Capital Campaign Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Use Separate Worksheets to Group Similar Kinds of Information Workbooks should be designed to make a model easy to understand and use. Individual worksheets should each have a well-defined purpose and be given descriptive names. Worksheets should appear in a natural order. Assumptions, calculations and results should be placed on separate worksheets whenever possible; this allows users to view assumptions and results without being distracted by the details of the calculations. Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Guide to Sheets Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Design Workbooks for Ease of Navigation and Use Structured workbooks facilitate understanding by user. Any form of structural help is beneficial. Use revealing names for individual sheets. Double-click on the name tab at bottom of spreadsheet to edit name. Use hyperlinks to corresponding worksheets. Insert►Links►Hyperlink Use buttons. Developer►Controls►Insert Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Navigation & Ease of Use: Outlining Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Design a Workbook as a Decision Support System Decision support system: An integrated information system that provides data, analytics, and reporting capabilities over an extended period of time to multiple users. Effective decision support systems present information in the manner most useful to decision makers. Graphs versus tables of numbers Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Protect Content Against Unwanted Changes Lock cells not to be changed. Use worksheet protection. Use data validation. Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Locking Cells To lock all cells: Select entire worksheet Select Home►Font, choose the Protection tab, and check the box for Locked To unlock variable cells: Select desired cells Select Home►Font and choose Protection tab, but uncheck the box for Locked Important to emphasize this, else, home/font command does not work. Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Protecting Worksheets Review►Changes►Protect Sheet At top of Protect Sheet window check box for Protect worksheet If check only Select Unlocked Cells User will be able to only select and modify unlocked cells. If check Select Locked and Unlocked Cells User will be able to select any cell but only modify unlocked cells. Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Data Validation Controls input values Highlight cells then click Data►Data Tools ►Data Validation Three tabs: Settings: Restrict inputs (e.g., range of cell values) Input Message: Create message when cursor on cell Error Alert: Alert for invalid entry Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Data Validation: Error alert Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Building a Workbook The second stage in creating a useful spreadsheet model, in eight steps: Follow a Plan Build One Worksheet or Module at a Time Predict the Outcome of Each Formula Copy and Paste Formulas Carefully Use Relative and Absolute Addressing to Simplify Copying Use the Function Wizard to Ensure Correct Syntax Use Range Names to Make Formulas Easy to Read Choose Input Data to Make Errors Stand Out Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copying and Pasting Formulas Copy-and-Paste commands (rather than retyping) reduce the potential for typographical errors. Careless copying can also be a source of bugs. e.g., wrong range copied Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Relative and Absolute Addressing Necessary for efficient copying An address such as B7 is relative. In cell A6, B7 represents one row down and one column to the right. If copied, new formula will refer to new cell that is one row down and one column to the right. An address such as $B$6 is absolute. Cell will not change if formula is copied. Use for parameter values. Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Function Wizard The button fx (on formula bar or Formulas ribbon) brings up the function wizard. Contains a complete list of all Excel functions Selecting a function will bring up a window showing needed inputs. Function value will be shown in window automatically Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Range Names Any cell or range of cells may be named. Name or cell reference may be used in formulas. Names easier to debug and use Require extra work to enter and maintain Select Formulas►Defined Names►Define Name to assign a name. Pull-down window at top left of spreadsheet. Shows all named cells for workbook Can be used to enter individual cell names Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Testing a Workbook Even a carefully designed and built spreadsheet may contain errors. Check that numerical results look plausible. Check that formulas are correct. Test that model performance is plausible. Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Check That Numerical Results Look Plausible Make rough estimates. Check with a calculator. Test extreme cases. Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Check That Formulas Are Correct Check visually. Display individual cell references. Display all formulas. Use the Excel Auditing Tools. Use Excel Error Checking. Use error traps. Use auditing software. Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Check Formulas Visually Visually check formulas in each cell. Most effective when range names used Tends to be tedious Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Display Individual Cell References Press F2 or double-click on cell of interest. Reveals formula with color-coded cell references Stronger visual clues than manual checking Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Display All Formulas Hold down Control key and press Tilde key [Control + ~]. All spreadsheet formulas are displayed Makes for easier scanning Aids in detecting deviations from patterns Reverse by repeating Control + ~ Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Using the Excel Auditing Tools Identifies predecessors (used to calculate cells) and dependents of cells Select Formulas►Formula Auditing to identify the cells used to calculate a given cell. Trace Precedents Draws colored arrows to predecessors Trace Dependents Draws colored arrows to successors Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Excel Error Checking Spreadsheet equivalent of grammar checking Managed from the Formulas tab of the Excel Options menu. Available in Excel 2002 and later versions. Cells with possible errors are flagged with a colored triangle. Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Errors Checked Under Automatic Error Checking Cells containing formulas that result in an error Inconsistent calculated column formula in tables Cells containing years represented as 2 digits Numbers Formatted as text or preceded by an apostrophe Formulas inconsistent with other formulas in the region Formulas which omit cells in a region Unlocked cells containing formulas Formulas referring to empty cells Data entered in a table is invalid Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Use Error Traps Error traps = formulas added to a spreadsheet that warn the user of potential errors Can check for errors in input data or in formulas Improve a workbook’s safety. Important that results of error checks be clearly visible to the user For example, an overall error trap that checks if any one of individual traps is true, then returns a warning Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Use Auditing Software A number of Excel add-ins are available for auditing spreadsheets. Add-ins typically provide a set of tools for detecting errors, displaying model structure graphically One such tool = Spreadsheet Professional (www.spreadsheetinnovations.com) Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Test That Model Performance Is Plausible Model should react in a plausible manner to a range of inputs User should be content with trends in output based on varying inputs Sensitivity testing an important tool to test plausibility Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. Summary Spreadsheets deserve careful engineering. Most spreadsheets contain errors. Users are over confident about their models. Rules for spreadsheet modeling: Designing a spreadsheet Designing a workbook Building a workbook Testing a workbook Chapter 3 Copyright © 2013 John Wiley & Sons, Inc.

Copyright © 2013 John Wiley & Sons, Inc. All rights reserved. Reproduction or translation of this work beyond that permitted in section 117 of the 1976 United States Copyright Act without express permission of the copyright owner is unlawful. Request for further information should be addressed to the Permissions Department, John Wiley & Sons, Inc. The purchaser may make back-up copies for his/her own use only and not for distribution or resale. The Publisher assumes no responsibility for errors, omissions, or damages caused by the use of these programs or from the use of the information herein. Updated copyright to 2013, added © symbol, and retained times new roman font.