Reverts some of the change I made yesterday in an attempt to improve the performance of the spreadsheet.