create spreadsheet if necessary