Spreadsheet-Based Decision Support Systems Chapter 22:

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

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.
Decision Analysis Tools in Excel
Developing an Excel Application
Tutorial 8: Developing an Excel Application
XP New Perspectives on Microsoft Excel 2003, Second Edition- Tutorial 8 1 Microsoft Office Excel 2003 Tutorial 8 – Developing an Excel Application.
Templates and Styles Excel Advanced. Templates are pre- designed and formatted spreadsheets –They provide consistency of layout/structure –They.
Tutorial 12: Enhancing Excel with Visual Basic for Applications
Microsoft Office 2007 Excel Chapter 8 Formula Auditing, Data Validation, and Complex Problem Solving.
Tutorial 10: Performing What-If Analyses
Chapter 6: Pivot Tables Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
PROJECT OVERVIEW PINGER EXECUTIVE PLOTS AKBAR MEHDI.
Developing Effective Reports
XP New Perspectives on Microsoft Office Excel 2003, Second Edition- Tutorial 11 1 Microsoft Office Excel 2003 Tutorial 11 – Importing Data Into Excel.
Formula Auditing, Data Validation, and Complex Problem Solving
Sensitivity Analysis A systematic way of asking “what-if” scenario questions in order to understand what outcomes could possibly occur that would affect.
Chapter 12: Recording Macros Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
The Project AH Computing. Functional Requirements  What the product must do!  Examples attractive welcome screen all options available as clickable.
Exploring Microsoft Excel 2002 Chapter 8 Chapter 8 Automating Repetitive Tasks: Macros and Visual Basic for Applications By Robert T. Grauer Maryann Barber.
Developing Effective Reports
Advanced Excel for Finance Professionals A self study material from South Asian Management Technologies Foundation.
Microsoft Excel 2007 © Wiley Publishing All Rights Reserved. The L Line The Express Line to Learning L Line.
The Project – Spreadsheet Design. The following is the high mark band for the spreadsheet design: The candidate has Analysed a given data set and designed.
Prof. Name Position (123) University Name Chapter 1: Introduction Spreadsheet-Based Decision Support Systems.
Chapter 11: Introduction to the Visual Basic Environment Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University.
PMS /134/182 HEX 0886B6 PMS /39/80 HEX 5E2750 PMS /168/180 HEX 00A8B4 PMS /190/40 HEX 66CC33 By Adrian Gardener Date 9 July 2012.
Introduction to Visual Basic. Quick Links Windows Application Programming Event-Driven Application Becoming familiar with VB Control Objects Saving and.
Lecture 1 Saima Gul. What is a Project? A Project is a job that has a beginning and an end (time), a specified outcome ( scope) at a stated level of quality.
Chapter 1 Introduction to VBA Development in Excel.
Chapter 17: Arrays Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Chapter 19: Solver Re-Visited Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Spreadsheets in Finance and Forecasting Presentation 9 Macros.
1 Performing Spreadsheet What-If Analysis Applications of Spreadsheets.
Prof. Name Position (123) University Name Chapter 1: Introduction Spreadsheet-Based Decision Support Systems.
© 2001 Business & Information Systems 2/e1 Chapter 8 Personal Productivity and Problem Solving.
Chapter 12: Recording Macros Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Key Applications Module Lesson 21 — Access Essentials
SE: CHAPTER 7 Writing The Program
IS201 Agenda: 10/15/2013 Do form and report exercise. Identify general guidelines for form and report design. Discuss a few key points about reports in.
Chapter 19: The Solver Re-Visited Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
GUI Design Spreadsheet-Based Decision Support Systems Chapter 23: Aslı Sencer MIS 463.
Chapter 16: Programming Structures Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 7 – Creating and Using Templates in a Web.
Chapter 9 Macros And Visual Basic For Applications.
PRESENTAION TOPIC : DSS Development Presented TO: Sir Ahmad Tisman Pasha Presented BY : Uzma Noreen Roll # BSIT (6 th ) Department.
P6 BTEC Level 3 Subsidiary Diploma in ICT. Automation The end user of a spreadsheet may be proficient in using the software, but the more that you automate.
Chapter 16: Programming Structures Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Sensitivity Analysis A systematic way of asking “what-if” scenario questions in order to understand what outcomes could possibly occur that would affect.
Chapter 11: Introduction to VBA Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Chapter 23: GUI Design Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
Sensitivity Analysis A systematic way of asking “what-if” scenario questions in order to understand what outcomes could possibly occur that would effect.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Chapter 10: Working with Large Data Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
PREPARED BY: PN. SITI HADIJAH BINTI NORSANI. LEARNING OUTCOMES: Upon completion of this course, students should be able to: 1. Understand the structure.
Chapter 15: Sub Procedures and Function Procedures Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University.
Linear Programming McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Chapter 10 Using Macros, Controls and Visual Basic for Applications (VBA) with Excel Microsoft Excel 2013.
Chapter 2 Build Your First Project A Step-by-Step Approach 2 Exploring Microsoft Visual Basic 6.0 Copyright © 1999 Prentice-Hall, Inc. By Carlotta Eaton.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
Formula Auditing, Data Validation, and Complex Problem Solving
Excel Tutorial 8 Developing an Excel Application
Analyzing Data with Excel
Spreadsheet-Based Decision Support Systems
Developing an Excel Application
Unit# 9: Computer Program Development
Microsoft Excel All editions of Microsoft office.
Exploring Microsoft Excel
Session 1b Decision Models -- Prof. Juran.
Presentation transcript:

Spreadsheet-Based Decision Support Systems Chapter 22: The DSS Development Process Aslı Sencer MIS 463

Defining the DSS Development Process Now that we have discussed in great detail the components of a spreadsheet-based decision support system (DSS), we need to learn the process of putting these components together to build a complete DSS application. We propose six basic steps for developing a DSS: Application Overview: Welcome sheet, input, model and calculations, output, resolve Worksheets: Welcome sheet, input sheet, calculations sheet, output sheet User Interface: Navigational buttons, receiving input, functional buttons Procedures: Receiving input, model and calculations, output analysis and display, navigational Resolve Options: Testing and Final Packaging

STEP 1: Application Overview Most important step in DSS development! Create a layout of the entire application to understand the flow from the user input to the model calculations to the output Welcome Sheet: Flow begins; introduction to what DSS is and how to begin using it. Input: Type of input: sheet, forms, or input box. Model and Calculations: Formulation of objectives and necessary input; Type of model: Performing an optimization, or running a simulation. Formulations and functions: Calculate by Excel or dynamically in code Output: A driving force in why the users are using the DSS. Type of output: Charts, graphs, histograms, tables Ask: Is it necessary to redisplay some inputs? Is the the output adequate? Re-solve Options: Resolve options; modify input; redefine constraints or objectives.

STEP 2: Worksheets Design How many sheets will be used, with which features? Use mostly Excel features; use VBA for more complicated, dynamic tasks! Worksheet design should be completed before code-based interface! Welcome Sheet Input Sheet Model and Calculation Sheets Output Sheet

STEP 2: Worksheets Design Welcome Sheet: Title and description of the DSS Assumptions, source of model formulation, images, photos “Start” button

STEP 2: Worksheets Design User input to the worksheet 2. Input Sheet: User input/Large data input/may be combined with other sheets If not use a sheet for input, may use a form or input box Appropriate labels, input locations Input calculations and output are on the same worksheet Large data imported from a text file or database

STEP 2: Worksheets Design 3. Calculations Sheet: Spreadsheet calculations by a solver Simulation results Usually hidden from user: user is not familiar with the details, only interested in results. Might be optional to view.

STEP 2: Worksheets Design Dave's Candies Simulation Simulation Model Simulation Results Trial Demand Profit Bin Range Frequency Selling price $ 12,00 1 50 $ 195,00 $ 105,00 - Cost $ 7,50 2 $ 120,00 Discount price $ 6,00 3 90 $ 315,00 $ 135,00 16 4 40 $ 135,00 $ 150,00 Probability 5 80 $ 165,00 1/6 6 70 $ 180,00 7 60 $ 255,00 $ 195,00 18 8 $ 210,00 9 $ 225,00 10 $ 240,00 11 $ 255,00 12 $ 270,00 Order Quantity 13 $ 285,00 14 $ 300,00 15 $ 315,00 48 Random Number Range $ 345,00 17 $ 360,00 1/3 $ 405,00 1/2 19   2/3 20 Average Profit $253,80 5/6 21 Standard Dev. $ 68,74 Data Table Analysis Order Quantity $253,80 40 $180,00 50 $213,60 60 $240,60 70 80 $267,00 90 $269,40

STEP 2: Worksheets Design 4. Output Sheet: Most important sheet for users. Should clearly summarize results and calculations, so the user can understand the behavior of the system. Summary tables and reports Graphs, charts or histograms Navigational output buttons “End”, “Resolve”, and “View” buttons.

STEP 2: Worksheets Design Outputs for Dave’s Candies Simulation Model Order Quantity Expected Profit 40 $180,00 50 $213,00 60 $236,40 70 $254,40 80 $271,80 90 $259,20

STEP 2: Worksheets Design An output sheet example using pivot tables and pivot charts Naviagational output sheet Pivot tables are used to transform large amount of data from a table or database into an organized summary report

Step 3: User Interface The aim is to develop a user friendly DSS Types of user interface in spreadsheet based DSS applications: Navigational Buttons Form Controls on the Worksheet User Forms Functional Buttons During development of the DSS use these options to perform Navigate the users through the application Receive input Allow users to input parameters of the model Allow users to begin a calculation Repeat a calculation or resolve a model

Navigational Buttons The first navigational button we should create is the “Start” button, which is located on the “Welcome” sheet. Assign this button to a macro that brings the users to the input interface On all other sheets (input, calculation, and output sheets) there should at least be an “End” or “Exit” button. The users should always have the option to quit the application and return to the Welcome sheet. Be consistent in the phrases used for exit and end. We may also include navigational buttons such as “Next,” “Continue,” or “Back” if we intend for the users to be able to step through the sheets or to revisit sheets. Start

Receiving Input: Form Controls on the Worksheet Form controls can make a worksheet into a dynamic user interface Useful when there are many resolve options. In this case easy access to input data is needed. A DSS for Inventory Management Extra inputs are asked if backorders or reorder point model is selected. This botten is not highlighted if standard eoq model is selected

Receiving Input: User Forms Forms should be used when the back and forth movement between the input and output worksheets is not very frequent. there is large set of input required from the user. There are many control options on forms: control buttons are more clearly displayed; do not interfere with other cells on the worksheet, can be displayed to the users at any time, since they are not attached to a worksheet. (useful for resolve options) Possible to design dynamic user forms Functional buttons on a worksheet Functional buttons on a form

Receiving Input: User Forms You can also design dynamic user forms. (

Receiving Input: User Forms You can also place a “floating” form in a worksheet. Should be used when the user needs to modify input multiple times; the users can modify entries without any need to close the form. The form is hidden when the users move to another sheet.

Functional Buttons In the case in which input, calculations, and/or output are combined, we may also include some functional buttons on the worksheet, such as “Solve.” Quite advantageous, mostly used when large amounts of input are needed. Initially Create table is higlighted. When the users press it, they are prompted to give the dimensions. The table with corresponding number of rows is created Then solve button becomes visible

Step 4: Procedures It is recommended to organize the code into several smaller procedures that may be called from other main procedures or associated with buttons on the worksheet. Make an outline of what procedures you will need to conduct the flow and execute the calculations. Receiving Input Model and Calculations Output Analysis and Display Navigational Make this outline before you begin the details of the implementation. Draw up an outline of these procedures via comments in the code like procedure names, documentation, tasks performed, etc.

Step 4: Procedures Initial Procedures and Receiving Input Main: Associated with the start button on the welcome sheet Call ClearPrevious procedure Show input form or take user to input sheet Clear Previous: Clear previous ranges of input or solution values Initialize variables Receive Input: Store values from form controls or input cells to corresponding variables Record these values to appropriate cells in calculation sheet

Step 4: Procedures Perform Model Calculations: Perform calculations using function procedures Run simulations using loops Perform optimization using Solver commands Perform Output Analysis and Generate Display: Display solution values to an output “report table” Update source data of the “chart” or “histogram” Navigational Procedures: “End”, “Next”, “Back”, or “View” button functionality Change Visible property of worksheets

Step 4: Procedures - Variable Definitions Variables: All variables are declared Variables used in more than one procedure are declared as “public” variables at the top of the module

Step 5: Resolve Options A DSS should provide resolve options for the users! Change inputs and resolve Add new constraints, redefine objective function In developing the re-solve options, we may ask the following questions: Can the user easily modify the input to resolve the problem without having to re-enter all input from scratch? Keep the last saved inputs, do not clear inputs unless the application is restarted Can the user change other parts of the calculations or model when resolving? Develop a dynamic application, so that different problem sizes are applicable. If not, indicate in the welcome sheet. What the user is really interested in learning from the DSS? Store multiple solutions for senario comparison and sensitivity analysis Remember that a DSS is designed to aid a decision maker in making a decision.

Resolve Options Examples Returning to Simulation or Re-solve options DSS suggests a resolve option for the simulation. Suggestion is made by solving an optimization model

Resolve Options Examples (cont’d) Changing Input or Portfolio options

Testing and Final Packaging Testing is an important final step which ensures that the DSS performs as intended. Test Navigation: Simply check all navigational options in each step of the application. Consider having an unbiased user test your program as well. Test Calculation Correctness: Use a simple set of input values and check the calculation results. You may also use debugging techniques (see Appendix B) and error checking methods. The final packaging should ensure that our DSS has a professional appearance. All user interface should have clear instructions and be nicely and consistently formatted.

Summary There are six basic steps to develop a DSS application: Application Overview, Worksheets, User Interface, Procedures, and DSS Components. The outline of the worksheets in the DSS should include Welcome Sheet, Input sheet, Calculations sheet, and Output sheet. The worksheet user interface includes Navigational Buttons, Functional Buttons, Controls on the Worksheet, and User Forms. The outline of the procedures in the application should include a Main procedure, a Clear Previous procedure, a procedure to receive input, some procedures and functions to perform calculations, and a procedure to generate output. In designing the re-solve options, the developers should check that the users are able to modify inputs, calculation options, constraints, and objectives. Aid the decision-makers in making the best decision. The testing and final packaging step ensures that the DSS application works correctly and has a professional appearance for the end users.