Developing Spreadsheet-Based Decision Support Systems Using Excel and VBA for Excel

Similar documents
36TITE 140. Course Description:

ITM2500 Spreadsheet & Database Productivity. Spreadsheet & Database Productivity

Learning Microsoft Office Excel

CENTRAL MAINE COMMUNITY COLLEGE Introduction to Computer Applications BCA ; FALL 2011

Preferences...3 Basic Calculator...5 Math/Graphing Tools...5 Help...6 Run System Check...6 Sign Out...8

GACE Computer Science Assessment Test at a Glance

INFORMS Transactions on Education

Excel Formulas & Functions

Class Numbers: & Personal Financial Management. Sections: RVCC & RVDC. Summer 2008 FIN Fully Online

Test Administrator User Guide

Changing User Attitudes to Reduce Spreadsheet Risk

Minitab Tutorial (Version 17+)

TeacherPlus Gradebook HTML5 Guide LEARN OUR SOFTWARE STEP BY STEP

Android App Development for Beginners

CHALLENGES FACING DEVELOPMENT OF STRATEGIC PLANS IN PUBLIC SECONDARY SCHOOLS IN MWINGI CENTRAL DISTRICT, KENYA

1 Use complex features of a word processing application to a given brief. 2 Create a complex document. 3 Collaborate on a complex document.

Using SAM Central With iread

M55205-Mastering Microsoft Project 2016

Higher Education / Student Affairs Internship Manual

Learning Microsoft Publisher , (Weixel et al)

Getting Started Guide

Emporia State University Degree Works Training User Guide Advisor

Using Moodle in ESOL Writing Classes

Education for an Information Age

We re Listening Results Dashboard How To Guide

SECTION 12 E-Learning (CBT) Delivery Module

BENG Simulation Modeling of Biological Systems. BENG 5613 Syllabus: Page 1 of 9. SPECIAL NOTE No. 1:

BUS Computer Concepts and Applications for Business Fall 2012

MODULE 4 Data Collection and Hypothesis Development. Trainer Outline

Welcome to The National Training Institute for Child Care Health Consultants

K 1 2 K 1 2. Iron Mountain Public Schools Standards (modified METS) Checklist by Grade Level Page 1 of 11

Spreadsheet software UBU104 F/502/4625 VRQ. Learner name: Learner number:

PowerTeacher Gradebook User Guide PowerSchool Student Information System

2 User Guide of Blackboard Mobile Learn for CityU Students (Android) How to download / install Bb Mobile Learn? Downloaded from Google Play Store

Excel Intermediate

BRAZOSPORT COLLEGE LAKE JACKSON, TEXAS SYLLABUS. POFI 1301: COMPUTER APPLICATIONS I (File Management/PowerPoint/Word/Excel)

Millersville University Degree Works Training User Guide

Using E-portfolios and Voice Thread With Elementary Students Presented by Lillian Salama and Basma Salem Cairo American College

content First Introductory book to cover CAPM First to differentiate expected and required returns First to discuss the intrinsic value of stocks

INFORMS Transactions on Education. Blitzograms Interactive Histograms

Online ICT Training Courseware

Guide to Teaching Computer Science

Knowledge-Based - Systems

Economics 201 Principles of Microeconomics Fall 2010 MWF 10:00 10:50am 160 Bryan Building

Office Hours: Day Time Location TR 12:00pm - 2:00pm Main Campus Carl DeSantis Building 5136

University of Groningen. Systemen, planning, netwerken Bosman, Aart

ACCOUNTING FOR LAWYERS SYLLABUS

Rotary Club of Portsmouth

Excel Formulas & Functions

Clerical Skills Level I

Course Groups and Coordinator Courses MyLab and Mastering for Blackboard Learn

School Year 2017/18. DDS MySped Application SPECIAL EDUCATION. Training Guide

Justin Raisner December 2010 EdTech 503

Exemplar Grade 9 Reading Test Questions

Welcome to California Colleges, Platform Exploration (6.1) Goal: Students will familiarize themselves with the CaliforniaColleges.edu platform.

D Road Maps 6. A Guide to Learning System Dynamics. System Dynamics in Education Project

BOOK INFORMATION SHEET. For all industries including Versions 4 to x 196 x 20 mm 300 x 209 x 20 mm 0.7 kg 1.1kg

Presentation Advice for your Professional Review

BHA 4053, Financial Management in Health Care Organizations Course Syllabus. Course Description. Course Textbook. Course Learning Outcomes.

Schoology Getting Started Guide for Teachers

JEFFERSON COLLEGE COURSE SYLLABUS BUS 261 BUSINESS COMMUNICATIONS. 3 Credit Hours. Prepared by: Cindy Rossi January 25, 2014

LEGO MINDSTORMS Education EV3 Coding Activities

Demography and Population Geography with GISc GEH 320/GEP 620 (H81) / PHE 718 / EES80500 Syllabus

Conducting the Reference Interview:

THE INFLUENCE OF COOPERATIVE WRITING TECHNIQUE TO TEACH WRITING SKILL VIEWED FROM STUDENTS CREATIVITY

Urban Analysis Exercise: GIS, Residential Development and Service Availability in Hillsborough County, Florida

Ruggiero, V. R. (2015). The art of thinking: A guide to critical and creative thought (11th ed.). New York, NY: Longman.

Appendix L: Online Testing Highlights and Script

Creating an Online Test. **This document was revised for the use of Plano ISD teachers and staff.

BPS Information and Digital Literacy Goals

TABLE OF CONTENTS TABLE OF CONTENTS COVER PAGE HALAMAN PENGESAHAN PERNYATAAN NASKAH SOAL TUGAS AKHIR ACKNOWLEDGEMENT FOREWORD

Procedures for Academic Program Review. Office of Institutional Effectiveness, Academic Planning and Review

Curriculum Assessment Employing the Continuous Quality Improvement Model in Post-Certification Graduate Athletic Training Education Programs

STUDENT MOODLE ORIENTATION

IMPROVING STUDENTS READING COMPREHENSION BY IMPLEMENTING RECIPROCAL TEACHING (A

MINISTRY OF EDUCATION

Green Belt Curriculum (This workshop can also be conducted on-site, subject to price change and number of participants)

TIMSS ADVANCED 2015 USER GUIDE FOR THE INTERNATIONAL DATABASE. Pierre Foy

Beginning Blackboard. Getting Started. The Control Panel. 1. Accessing Blackboard:

DOCTORAL SCHOOL TRAINING AND DEVELOPMENT PROGRAMME

TIPS PORTAL TRAINING DOCUMENTATION

Indiana Collaborative for Project Based Learning. PBL Certification Process

ABET Criteria for Accrediting Computer Science Programs

MBA 5652, Research Methods Course Syllabus. Course Description. Course Material(s) Course Learning Outcomes. Credits.

Graduate Program in Education

MOODLE 2.0 GLOSSARY TUTORIALS

1 Instructional Design Website: Making instruction easy for HCPS Teachers Henrico County, Virginia

Software Maintenance

Dissertation submitted In partial fulfillment of the requirement for the award of the degree of. Of the Tamil Nadu Teacher Education University

Writing a Basic Assessment Report. CUNY Office of Undergraduate Studies

Storytelling Made Simple

Knowledge management styles and performance: a knowledge space model from both theoretical and empirical perspectives

3D DIGITAL ANIMATION TECHNIQUES (3DAT)

ED487: Methods for Teaching EC-6 Social Studies, Language Arts and Fine Arts

POFI 1349 Spreadsheets ONLINE COURSE SYLLABUS

Moodle Student User Guide

Bluetooth mlearning Applications for the Classroom of the Future

Clerical Skills Level II

DegreeWorks Advisor Reference Guide

RIVERVIEW SCHOOL DISTRICT Superintendent s Report Regular Meeting Board of School Directors April 20, 2015

Transcription:

Developing Spreadsheet-Based Decision Support Systems Using Excel and VBA for Excel Michelle M.H. Şeref Decision and Information Sciences Warrington College of Business University of Florida, Gainesville Ravindra K. Ahuja Industrial and Systems Engineering University of Florida, Gainesville and Innovative Scheduling, Inc., Gainesville Wayne L. Winston Operations and Decision Technologies Kelly School of Business Indiana University, Bloomington Dynamic Ideas Belmont, Massachusetts

Contents PREFACE xiii PART I: EXCEL ESSENTIALS CHAPTER 1 Introduction 1 1.1 Introduction to Decision Support Systems 2 1.2 Defining a Decision Support System 3 1.3 Decision Support Systems Applications 5 1.4 Textbook Overview 6 1.5 Summary 8 1.6 Exercises 8 CHAPTER 2 Excel Basics and Formatting 9 2.1 Introduction 10 2.2 Defining the Set of Excel Objects 10 2.3 Entering Data into Cells 10 2.4 Understanding Excel Menus and Toolbars 13 2.5 Formatting 20 2.6 Summary 27 2.7 Exercises 28 CHAPTER 3 Referencing and Names 31 3.1 Introduction 32 3.2 Referencing Cells 32 3.3 Names for Cells, Ranges, and Worksheets 40 3.4 Summary 48 3.5 Exercises 48 CHAPTER 4 Functions and Formulas 53 4.1 Introduction 54 4.2 Formulas and Function Categories 54 v

vi Contents 4.3 Logical and Information Functions 58 4.4 Text and Lookup & Reference Functions 66 4.5 Date & Time Functions 77 4.6 Mathematical and Trigonometry Functions 84 4.7 Statistical and Financial Functions 88 4.8 Conditional Formatting Formulas 95 4.9 Auditing 97 4.10 Summary 99 4.11 Exercises 99 CHAPTER 5 Charts 105 5.1 Introduction 106 5.2 Creating Charts with Chart Wizard 106 5.3 Working with Chart Options 111 5.4 Creating a Dynamic Chart 116 5.5 Summary 119 5.6 Exercises 120 CHAPTER 6 Pivot Tables 123 6.1 Introduction 124 6.2 Pivot Tables 124 6.3 Further Modifications 130 6.4 Pivot Charts 142 6.5 Summary 144 6.6 Exercises 144 CHAPTER 7 Statistical Analysis with Excel 147 7.1 Introduction 148 7.2 Understanding Data 148 7.3 Relationships in Data 161 7.4 Distributions 174 7.5 Summary 181 7.6 Exercises 182 CHAPTER 8 Using the Excel Solver to Solve Mathematical Programs 187 8.1 Introduction 188 8.2 Formulating Mathematical Programs 188 8.3 The Excel Solver 191 8.4 Applications of the Solver 202 8.5 Summary 216 8.6 Exercises 216 CHAPTER 9 Simulation 221 9.1 Introduction 222 9.2 Defining Simulation 222 9.3 Applications 233

Contents vii 9.4 Summary 240 9.5 Exercises 240 CHAPTER 10 Working with Large Data 245 10.1 Introduction 246 10.2 Importing Data 246 10.3 Exporting Data 255 10.4 Creating Pivot Tables from External Data 256 10.5 Using Excel as a Database 258 10.6 Summary 278 10.7 Exercises 279 PART II: VBA FOR EXCEL CHAPTER 11 Introduction to the Visual Basic Environment 283 11.1 Introduction 284 11.2 The Visual Basic Editor 284 11.3 The Object Browser 287 11.4 Summary 289 11.5 Exercises 290 CHAPTER 12 Recording Macros 291 12.1 Introduction 292 12.2 Macros 292 12.3 Customizing Toolbars and Menu Options 306 12.4 Summary 310 12.5 Exercises 311 CHAPTER 13 More on Objects 315 13.1 Introduction 316 13.2 More on Properties and Methods 316 13.3 The With Construct 344 13.4 Referencing and Names in VBA 347 13.5 Formulas in VBA 355 13.6 Summary 361 13.7 Exercises 361 CHAPTER 14 Variables 367 14.1 Introduction 368 14.2 Variable Declarations and Data Types 368 14.3 Variable Scope 372 14.4 Variables in User Interface 373 14.5 VBA Math Functions 376 14.6 Applications 381 14.7 Summary 392 14.8 Exercises 393

viii Contents CHAPTER 15 Sub Procedures and Function Procedures 399 15.1 Introduction 400 15.2 Sub Procedures 400 15.3 Function Procedures 402 15.4 Public and Private Procedures 405 15.5 Applications 406 15.6 Summary 409 15.7 Exercises 410 CHAPTER 16 Programming Structures 413 16.1 Introduction 414 16.2 If, Then Statements 414 16.3 Select Case 419 16.4 Loops 420 16.5 Exit Statements and End 423 16.6 Applications 427 16.7 Summary 434 16.8 Exercises 434 CHAPTER 17 Arrays 439 17.1 Introduction 440 17.2 When and Why to Use Arrays 440 17.3 Defining Arrays 440 17.4 Dynamic Arrays 442 17.5 Sorting Arrays 444 17.6 Applications 445 17.7 Summary 450 17.8 Exercises 451 CHAPTER 18 User Interface 455 18.1 Introduction 456 18.2 User Form Controls 456 18.3 User Form Options 472 18.4 Event Procedures 473 18.5 Variable Scope 476 18.6 Error Checking 477 18.7 Importing and Exporting Forms 479 18.8 Navigating 479 18.9 Professional Appearance 480 18.10 Applications 481 18.11 Summary 492 18.12 Exercises 493

Contents ix CHAPTER 19 The Solver Revisited 499 19.1 Introduction 500 19.2 Review of Chapter 8 500 19.3 Solver Commands in VBA 503 19.4 Applications 508 19.5 Summary 514 19.6 Exercises 515 CHAPTER 20 Simulation Revisited 519 20.1 Introduction 520 20.2 Review of Chapter 9 520 20.3 Simulation with VBA 521 20.4 Applications 526 20.5 Summary 531 20.6 Exercises 532 CHAPTER 21 Working with Large Data Using VBA 537 21.1 Introduction 538 21.2 Creating Pivot Tables with VBA 538 21.3 Using External Data 544 21.4 Exporting Data 557 21.5 Applications 558 21.6 Summary 565 21.7 Exercises 566 PART III: CASE STUDIES CHAPTER 22 The DSS Development Process 571 22.1 Defining the DSS Development Process 572 22.2 Application Overview and Model Development 572 22.3 Worksheets 574 22.4 User Interface 580 22.5 Procedures 587 22.6 Re-solve Options 589 22.7 Testing and Final Packaging 593 22.8 Summary 594 22.9 Exercises 594 CHAPTER 23 GUI Design 595 23.1 GUI Design 596 23.2 The Theory Behind Effective GUI Design 596 23.3 Effective and Ineffective GUI Design 602 23.4 Summary 607 23.5 Exercises 607

x Contents CHAPTER 24 Programming Principles 609 24.1 Programming Practices 610 24.2 Clarity 610 24.3 Efficiency 611 24.4 Summary 613 24.5 Excercises 613 CASE STUDY 1 Birthday Simulation 615 CASE STUDY 2 Eight Queens 629 CASE STUDY 3 Inventory Management 649 CASE STUDY 4 Warehouse Layout 669 CASE STUDY 5 Forecasting Methods 699 CASE STUDY 6 Facility Layout 721 CASE STUDY 7 Portfolio Management and Optimization 741 CASE STUDY 8 Reliability Analysis 765 CASE STUDY 9 Retirement Planning 791 CASE STUDY 10 Queuing SImulation: Single Server and Multi Server 815 APPENDIX A Excel Add-Ins 843 A.1 Introduction 844 A.2 Including Add-Ins and References using VBA 844 A.3 Data Analysis Toolpack 847 A.4 The Solver 847 A.5 @RISK 853 A.6 Crystal Ball 854 A.7 StatTools 854 A.8 Summary 854 APPENDIX B Debugging and Error Checking 855 B.1 Introduction 856 B.2 Types of Errors 856 B.3 The Debug Toolbar 857 B.4 The Debug Windows 859

Contents xi B.5 Debugging Tips 861 B.6 Error Checking 862 B.7 Summary 866 APPENDIX C Advanced Programming Topics 867 C.1 Introduction 868 C.2 Object-Oriented Programming in VBA for Excel 868 C.3 Opening Other Applications From VBA 875 C.4 Summary 880 REFERENCES 881 ABOUT THE AUTHORS 883 INDEX 885