handle wonky spreadsheets