Manning Logo
Home | Ordering Info | Shopping Cart | Manage My Account | Login
Attention customers: online shopping is now available exclusively through our main website: http://www.manning.com. Thank you.
Professional's Guide to Robust Spreadsheets

Inside the book

Sample Chapters Table of Contents Index Introduction

Manning Blog

Why small is sweet?

Author Blogs

Dave Crane more...

Author Calendar

Upcoming Events

Catalog

Java .NET Perl XML All by Subject All by Title

About...

Manning Contact Us Ordering FAQs ebooks Covers Sandbox Forums Distributors Manning Early Access Program (MEAP) Affiliate Program Academia/Publicity User Group Program Press Releases Jobs

Manning Publications Co.
209 Bruce Park Avenue
Greenwich, CT 06830

Professional's Guide to Robust Spreadsheets
With Examples in Lotus 1-2-3 and Microsoft Excel
Ronny Richardson

1996 | 301 pages
ISBN: 013262320X
  $29.95 Softbound print book Out of print (?)

Table of Contents

List of Tablesxi
Acknowledgmentsxiii
Introductionxv
     The Purpose of This Bookxv
Who Should Read This Book?xvi
How the Book is Organizedxvi
A Few Conventionsxviii
Showing Lotus and Excel Differencesxix
Getting Copies of the Worksheets Used in this Bookxx
About the Authorxx
Last Notesxxi

Chapter 1
Initial Design1
1.1Define the Strategic Purpose2
1.2Define the Output2
1.3Define the Inputs3
1.4Define the Calculations4
1.5Develop a System Diagram4
1.6Putting it Together4
1.7Final Considerations5
1.7.1Software Standards5
1.7.2User Standards6
1.7.3Worksheet Standards6
Summary7

Chapter 2
Basic Layout
2.1Dividing the Worksheet Into Sections9
2.2Arranging the Sections of the Worksheet10
2.2.1Top-to-Bottom Arranged Worksheets11
2.2.2Left-to-Right Arranged Worksheets12
2.2.3Ad-hoc Arranged Worksheets13
2.2.4In a Two-Dimensional Environment
the Diagonal Arrangement is Best
13
2.2.5Finding Sections in a Diagonal Arrangement15
2.2.6You Can Always Rearrange at the End16
2.2.7In a Three-Dimensional Environment16
2.3Intended Audience for a Worksheet19
Summary21

Chapter 3
Input Section
3.1Getting Information from the User23
3.2Developing a User Input Section24
3.2.1Column A: Numbers25
3.2.2Column B: The Questions26
3.2.3Column C: The Answers26
3.2.4Column D: Messages: Communicating With the User26
3.2.5Column E: The Values Actually Used29
3.3Taking Special Actions When the Spreadsheet First Starts32
3.3.1Automatically Executed Macro Overview32
3.3.2Reasons to Use an Automatically Executed Macro32
3.4Example: A Biorhythm Chart34
3.4.1The Opening Screen34
3.4.2The Data Entry Section35
3.4.3The Month36
3.4.4The Day37
3.4.5The Year39
3.4.6Biorhythm Chart Input Conclusion41
3.5Do I Really Need All These Prompts and Error Messages?41
3.6Batch Entry42
Summary43

Chapter 4
Processing Section
4.1Lay Out Calculations Cleanly45
4.2Remember Precedence47
4.3Variable Assumptions48
4.4Using Range Names49
4.5Do Not Erase With the Space Bar50
4.6Using Absolute References51
4.7Using Spreadsheet Linking51
4.7.1Worksheet Consolidation52
4.7.2Sharing Data52
4.7.3A Problem With Worksheet Links53
4.8Protecting Calculations55
Summary56

Chapter 5
Output Section
5.1Deliver Decisions, Do Not Deliver Data57
5.1.1Report Layout58
5.1.2Report Structure64
5.2Formatting Your Worksheet65
5.2.1Basic Formatting Review66
5.2.2Advanced Formatting68
5.2.3Using Named Styles73
5.2.4Using Special Characters in Your Lotus Worksheets75
5.2.5Using Selected Character Formatting in Excel Worksheets78
5.2.6A Word of Caution Regarding Formatting78
5.3Working With Charts79
5.3.1Charts In Lotus80
5.3.2Charts in Excel83
5.4Reports Outside of Your Spreadsheet Program84
5.4.1Object Linking and Embedding85
5.4.2A Warning Regarding Linking86
5.4.3Creating the Worksheet86
5.4.4Linking Steps88
5.4.5Other Linking Considerations89
5.5Paperless Reports91
5.5.1A Few Notes on Writing an Effective Presentation92
5.5.2Anatomy of a Slide93
5.5.3Lotus and Excel are not Presentation Packages!94
5.5.4Configuring the Worksheet95
5.5.5Getting the Data into the Worksheet97
5.5.6An Example98
5.5.7Making Presentations Remotely102
Summary103

Chapter 6
Macro Section
6.1What Is a Macro?105
6.2Why Write Macros?105
6.2.1Automating Repetitive Tasks106
6.2.2Performing Tricky Tasks106
6.2.3Error Prevention106
6.3The Macro Development Process107
6.4Lotus Macros108
6.4.1Formatting and Documenting Your Macro108
6.4.2Writing Your First Macro110
6.4.3Recording a Macro111
6.4.4Using Commands in Macros113
6.4.5Macro Command Syntax115
6.4.6Some Useful Macro Techniques116
6.4.7Debugging Macros128
6.4.8Macro Management132
6.5Excel Macros137
6.5.1Understanding the Terminology137
6.5.2Recording Your First Macro141
6.5.3Running Your First Macro144
6.5.4Variables144
6.5.5Controlling Code Flow145
6.5.6Interacting With the User148
6.5.7Macro Menus151
6.5.8Modifying the Menu System152
6.5.9Debugging Macros152
6.6Macro Viruses155
Summary155

Chapter 7
Worksheet Quality Control159
7.1What Management Must Do161
7.2What The Model Builder Must Do162
7.2.1Building Error-Resistant Worksheets162
7.2.2Avoiding Errors When Upgrading a Worksheet166
7.2.3Testing with a Set of Standard Scenarios167
7.2.4Testing with Extreme Data168
7.2.5Auditing Your Worksheets169
7.3Working With Someone Else's Model175
7.3.1Up-Front Work176
7.3.2Quick Tour176
7.3.3Initial Documentation177
7.3.4Formulas Audit177
7.3.5Understanding the Worksheet178
7.3.6Final Documentation180
7.4The Bottom Line181
Summary181

Chapter 8
Documenting the Worksheet183
8.1In a Corporate Setting184
8.2External Documentation184
8.2.1Executive Summary184
8.2.2Major Assumptions185
8.2.3Table of Range Names185
8.2.4Table of Macros185
8.2.5Formulas186
8.2.6Sample Inputs and Outputs186
8.2.7Logical Documentation186
8.3Internal Documentation186
8.3.1Documenting Formulas186
8.3.2Documenting Macros187
8.4Users' Group188
8.4.1Software Depository188
8.4.2Meetings on Using the Model189
8.4.3Model Modifications189
8.4.4Synergy189
Summary190

Chapter 9
Worksheet Standards
9.1Learning New Models191
9.2Overall Organizational Standards192
9.2.1Organizational Standards for Range Names192
9.2.2Organizational Standards for Labels192
9.3Input Standards193
9.3.1Visual193
9.3.2Data Verification195
9.4Processing Standards195
9.4.1Technical Standards196
9.4.2Formatting Standards196
9.5Output Standards197
9.5.1Structure197
9.5.2Visual Output198
Summary200

Chapter 10
Corporate Concerns
10.1Is a Spreadsheet the Right Tool?203
10.1.1When Spreadsheets Excel204
10.1.2When to Consider Writing a Program205
10.1.3The Result of Using a Spreadsheet Rather Than
     a Programming Language
206
10.2Who Should Write the Model?208
Summary210

Chapter 11
Batch Processing
11.1When to Consider Batch Entry211
11.2Modifying the Worksheet for Batch Entry212
11.3An Example213
11.3.1Without Batch Entry213
11.3.2Adding the Look-up Table215
11.3.3Adding the Macro in Lotus217
11.3.4Adding the Macro in Excel219
11.4Batch Entry Problem219
11.5Built-in Batch Entry Support220
11.5.1Version Manager in Lotus220
11.5.2Scenarios in Excel225
11.6Deciding Between Macro-Based Batch Entry and
     Built-in Batch Entry
227
Summary228

Appendix A
Discussion of Selected Lotus and Excel Functions229

Appendix B
Documentation for Selected Worksheets235

Appendix C
Chapter 6 Tables257

Index275



List of Tables

Table 2.1Deciding which features to include with which types of worksheets21
Table 3.1Formulas used to generate error messages in the
     heat pump model input area
28
Table 3.2Formulas used to generate the values used in the
     heat pump model input area
31
Table 4.1Cells used to calculate gas bill using multiple cells47
Table 4.2Operation precedence48
Table 4.3Formulas used to calculate gas bills using multiple inputs50
Table 5.1Common compose sequences77
Table 5.2Compose sequences for common formatting operations78
Table 5.3Suggested column widths for slides96
Table 6.1Macro Commands for manipulating charts 258
Table 6.2Macro commands for data manipulation259
Table 6.3Macro commands for manipulating a database260
Table 6.4Macro commands for direct data exchange and
     object linking and embedding
261
Table 6.5Macro commands for editing worksheets262
Table 6.6Macro commands for manipulating files263
Table 6.7Macro commands for controlling the
     flow of macro programs
264
Table 6.8Macro commands that duplicate user keystrokes265
Table 6.9Macro commands for navigating the worksheet267
Table 6.10Macro commands for manipulating ranges268
Table 6.11Macro commands for using the Solver and Backsolver tools269
Table 6.12Macro commands for manipulating worksheet styles270
Table 6.13Macro commands for manipulating text files 271
Table 6.14Macro commands for working with tools271
Table 6.15Macro commands for manipulating the user environment272
Table 6.16Macro commands for managing scenarios 274
Table 6.17Macro commands that control window and displays274
Table 6.18Menu options for a macro example with explanation and macro code117
Table 6.19Common properties140
Table 7.1Common spreadsheet problems179
Table 11.1Selected formulas for BREAK-1.WK4213
Table 11.2Formulas in BREAK-2.WK4 used to pull inputs from data table217
Table B2.1Range names used in BIORYTHM.WK4239
Table B2.2Range names used in BREAK-3.WK4242
Table B2.3Range names used in BIORYTHM.WK4248
Table B2.4Range names used in BREAK-3.XLS251

DESCRIPTION

This book teaches you how to develop large, bug-free, easy-to-understand, and easy-to-maintain spreadsheets. It explains how techniques that work on small spreadsheets fail on larger projects. Methods from this book can be critical when the developer of the spreadsheet isn't the one using or maintaining it. The Professional's Guide to Robust Spreadsheets is rich with real-life examples in both Lotus 1-2-3 and Microsoft Excel. This book helps you:

  • Design for ease of use
  • Plan for trouble-free maintenance
  • Reduce programming errors
  • Write spreadsheets that self-detect and correct wrong data
  • Write effective reports
  • Bring quality control to your design
  • Set organizational standards for spreadsheet design
  • Automate routine tasks with macros
There's a real art to constructing effective spreadsheets, and a few lessons from this book will make you a master.

WHAT THE EXPERTS SAY ABOUT THIS BOOK...

"I found myself marvelling at how relatively profound points could be so clearly expressed. This refreshing clarity made the book fun as well as educational."
--Allan G. Atherton, Computer Consultant

"This is the only book I've read that shows how to write better spreadsheets, rather than simply use a spreadsheet program."
--Peter J. Luise, President, Renaissance Soluations

ABOUT THE AUTHOR...

Ronny Richardson, now a faculty member at Southern Polytechnic State University, was formerly a financial analyst at a Fortune 100 company where he developed and maintained thousands of spreadsheets, large and small. He has written 20 computer books, including several best sellers.

Home | Catalog | Privacy Policy | About Manning

© 2003-2006 Manning Publications Co.