Multisheet Templates

Revision as of 16:45, 5 March 2024 by Colin (talk | contribs)

Multisheet Templates allow you to create workbook with multiple sheets from a single template designed in Excel. You define ranges for the sets of column and row members available, then define how to combine them for each output sheet.

For example, we can define two sets of columns and two sets of rows, and use this to create four output sheets.

This input

MultisheetTemplate SampleTemplate.PNG

Creates this output

MultisheetTemplate SampleOutput.PNG

Using this configuration

MultisheetTemplate SampleConfig.PNG

Here is the workbook used in the above example: Template.xlsx

Basic Configuration

The output sheet configuration must be in a named range called SheetsConfig, and at a minimum it must contain the following columns:

SheetName Name of the output sheet to create.
ColumnHierarchies Name of range containing the column hierarchies.
ColumnMembers Name of range containing the column members.
RowHierarchies Name of range containing the row hierarchies.
RowMembers Name of range containing the row members.