Generalize spreadsheet creation to all levels