Corrected Range Error in Spreadsheet