An exercise in spreadsheet engineering.