Origin has a tool for splitting a worksheet into multiple worksheets. You can specify that every n columns be split into a new sheet; that every n rows be split into a new sheet; or that columns that share a column header row label be grouped into a new sheet. The wsplit dialog box uses the wsplit X-Function.
| Recalculate |
Specify the Recalculate Mode.
|
|---|---|
| Input Worksheet |
The worksheet to be split. Note that starting with Origin 2017b, you can CTRL + select a column range to be split (no need to split the entire sheet). For help with range controls, see: Specifying Your Input Data |
| Split Mode |
Determine how the worksheet is to be split:
|
| Number of Columns | Available when Split Mode = By Number of Columns. Specify every n columns to create a new worksheet (not available for By Reference Columns). |
| Retain 1st N Columns | Available when Split Mode = By Number of Columns or By Column Label. Specify first n columns of the source Worksheet to keep them in all split result sheet. And these first n columns are excluded from splitting By Number of Columns or By Column Label. |
| Number of Rows | Available when Split Mode = By Number of Rows. Specify every n rows to create a new worksheet (not available for By Reference Columns). |
| Column Label | Available when Split Mode = By Column Label. Specify the column label row for grouping columns into new worksheets. |
| Reference Columns | Available when Split Mode = Reference Columns. Specify column(s) containing grouping variable(s). When multiple columns are chosen, list order determines how data are split. |
| Split | This control is only available for single reference column selected. Specify how to split the worksheet according to the selected reference column:
|
| Tolerance | When you selected Split Mode = Reference Columns and Split = By Value/By Value Change, you can use this drop box to consider a tolerance when determine when determine if the numeric values change. |
| Include Turning Point in | When you selected By Direction Change for the Split control, you can use this drop box to decide how to deal with the turning points, to include them in the previous group or next group. |
| Keep Reference Columns in Result | Output Reference Column data with split results (applies to By Reference Columns only). |
| Sort Result by Reference Columns | Specify whether sort the split results rows by the reference values when you checked Keep Reference Columns in Result.
This check box is only available for the Split control set to By Direction Change or By Direction Reset. |
| Exclude Missing Value | Exclude empty cells or cells containing Origin's missing value character ("--"), from split result (applies to By Reference Columns only). |
| Copy Column Formula to Result | If the source worksheet contains column formjula, control how to deal with the formula.
|
| Keep Source Worksheet | Keep the source worksheet intact. Otherwise the source worksheet is deleted. |
| Show Sparklines | Show Sparklines for the columns in the output worksheets. |
| Output Worksheet | Specify output worksheet.
For help with the range controls, see: Output Results |
| Preset Result Sheet Name | Available when Split Mode = By Reference Columns and Split = By Value:
Since Origin 2019b, this option has been set to %V by default to output each subgroup to a new sheet with the group-info sheet name. |
Note: From Origin 2017 column Short Name is restricted to alphabetical order and it cannot be edited by default. For this reason, the Keep Short Name option is hidden in this dialog. If you are opening a pre-Origin 2017 project or if you have turned off Spreadsheet Cell Notation in the current book, and you want to keep customized column Short Names after splitting the worksheet, you need to:
@SSG = 1 |