save the data to a spreadsheet