Here is statement group from the sample data that creates a Workbook called "StatementSet1" and has the sheets named according to the names of the statements in the group. If the statement is generated "Consolidated" then that text is appended to the name, otherwise the department number is appended:
