|
|
||
![]() | Safeco Field, home of the Seattle Mariners. Seattle, WA July 3, 2005 |
|
| Apple | Cool | Disney | Entertainment | Fitness | Geek | Microsoft | Politics | Seattle Storm | Transit | Travel | UW MBA | ||
|
« Houston Comets, RIP | Main | California Adventure: The Interactive Map » December 10, 2008Some Simple Suggestions For Saner SpreadsheetsThis is cross-posted from the Mac Mojo blog. If you're like me, and spend a lot of time building spreadsheets to model or budget or crunch a set of numbers, you have probably had the following experience. One day, you have a bright idea. You fire up Excel and begin working to express it. After hours and hours of constructing and tweaking and changing and modifying your spreadsheet, you find yourself sitting at your desk, brow sweaty, with a goofy look of happiness on your face - "Aha!" you think. "That's it! I've done it!" You then save your work, quit Excel, and head off for a much-deserved snack. Three months later, you remember your genius spreadsheet and want to update it. You locate the file on the drive, double-click, and ... find yourself staring at gobbledygook. The spreadsheet is, well, unreadable - you can't tell which cells do which, what math is being used where, and quickly find yourself starring in an episode of CSI: Excel, relying on clues, fingerprints and guesswork to determine what the heck is actually going on in your workbook. This "unintelligible workbook" situation is not uncommon - and not even that surprising, if you think about it. Unlike the art of writing, where there are defined conventions (sentence structure, paragraph structure, document structure, story structure), spreadsheets are as varied as the minds that create them. On one hand, this is great - spreadsheets are fantastically flexible tools - but on the other it can lead to confusion, error, and misunderstanding. Without standards for what a spreadsheet "should" look like, the reader of a spreadsheet is often left scratching their head, wondering just what it is they're staring at. (This by the way, is doubly true in large organizations, where some long-departed employee once built some hairball of a spreadsheet back at the dawn of the last Ice Age, and now your boss wants you to "update it a little bit". I've been there, and, well, good luck with that.) Enter the concept of spreadsheet "best practices". As spreadsheets become more integral to our work (and, consequently, more complex in their design and function), a clear need has emerged to have a set of principles around which spreadsheets are designed and developed. There are a number of distinct methodologies and approaches, such as FAST ("Flexible, Accurate, Structured, Transparent"), but in my view the important thing is to find a few guidelines that make sense for you (and the people you work with), and then ... just follow 'em. My first personal experience with best practices came when I was in business school. My Quantitative Methods coursework was done entirely in Excel, and my professor, Dr. Hillier, insisted that people follow some guidelines when laying out their spreadsheets so he could understand what the students were doing. His guidelines were simple, straightforward, and made a lot of sense; years later, I find myself still using them and saving my sanity. (Dr. Hillier, incidentally, credits Duke University professor Dr. Robert Nau for inspiring him.) Of the tips I've seen for sane spreadsheet design, the most valuable have been:
Now that we're armed with all these rules, I'll give a simple example of how we might use them. Say your boss wants to throw a pizza party for the office and asks you to figure out what it will cost beforehand. There are 30 people in the building, so you fire up Excel and quickly build a model. It might look something like this: ![]() Figure 1 - Pizza For 30 ... But How? Let's go ahead and expand these cells to reveal their internal formulas (Excel has a nifty keyboard shortcut for doing this: hold down the CONTROL key and then tap the "tilde" key (~)). Doing so will yield something like this: Figure 2 - Pizza For 30 ... The Mystery Revealed Wow, that's some crazy formula there in B4, huh? Let's see, I'm seeing the CEILING function, some addition and division and multiplication, a few numbers I don't know the origin of ... spaghetti, basically. There's a nearly 0% chance that anyone who didn't create this spreadsheet - create it recently - would be able to figure out what any of this means. Let's try this same example, but following some of the tips from above. We might wind up with something that looks more like Figure 3 (Figure 4 shows the underlying math): ![]() Figure 3 - Pizza for 30, Take 2 ![]() Figure 4 - Pizza For 30, Expanded View Going back to our tips, a few things jump out:
So that's it - some simple suggestions for saner spreadsheets. This might seem like a lot of work at first - it did to me, for sure - but, as a loyal and regular practitioner of these techniques for the past few years, I can only attest to my own happiness and productivity after having adopted them. Your mileage may vary, but the next time you open a spreadsheet and go, "What was I thinking?" you might do well to adopt a few of these habits. If you're interested, my spreadsheet can be downloaded here. Posted by Gavin Shearer at December 10, 2008 10:11 AM. Posted to Apple | MSFT. « Houston Comets, RIP | Main | California Adventure: The Interactive Map » |