This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Name: Unpivot Table (UNPIVOT) | |
| Description: Given a table range with headers and array of header names, unpivots the | |
| specified columns in place, optionally removing any blank entries. | |
| Written By: Excel Robot (@ExcelRobot) | |
| Category: Array | |
| */ | |
| UNPIVOT=LAMBDA(table,[columns_to_unpivot],[attribute_name],[value_name],[remove_blanks], LET( | |
| _ColumnsToUnpivot, IF( | |
| ISOMITTED(columns_to_unpivot), |