Fixed spreadsheet bug. Finished spreadsheet style