Restructure: Unstack Columns
Unstack data using group columns
Minimum Origin Version Required: 8.1 SR0, updated in 8.5.1
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
---|---|---|---|---|
Data to be Unstacked | irng1 |
Input Range |
|
Specify the data to be unstacked. |
Group Column(s) | irng2 |
Input Range |
|
Specify the data to be the group. Unstacking columns is in accordance with this group. |
Include Other Column(s) | nonstack |
Input int |
|
Specify whether to include those non-unstack columns in the original sheet to the result sheet. |
Other Column(s) | other |
Input Range |
|
Specify the data range(s) which will be the non-unstack column(s) to output to the result sheet. It is available when Include Other Column(s) is checked. |
Extract Rule for Other Columns Values | extract |
Input int |
|
Specify how to arrange the data in Other Column(s).
Option list:
|
Include Missing as One Group | missing |
Input int |
|
Specify whether to consider missing values as one group. |
Sort Output Coulmns By | sort |
Input int |
|
Specify how to sort the output columns.
Option list:
|
Output Worksheet | ow |
Output Worksheet |
|
Specify where to store the output unstacked results. |
Put Grouping Info. to | pos |
Input int |
|
Specify where to put the grouping information.
Option list:
|
From Group Columns | label |
Input string |
|
This drop-down list is only available when Put Group Info. to is set as User Defined Parameters. It is used to name the user defined parameter row for storing grouping information. The name is from the label row of the Group column in the source worksheet. The selected label row must contain a string for naming the user defined parameter row, or there will be an error message. Please refer to Column Label Row Characters for the single character to specify a label row. |
Please refer to this page in the User Guide for more information.