Icon

Transpose Excel table with additional header rows

Unmerges some merged header cells in a formatted xls spreadsheet using the Excel Unmerge Cells component, then transposes the data and unpivots. This is not a generic operation, but rather handles the very specific excel spreadsheet. The process could be adapted for other spreadsheets though.

reference to xls filein workflow data folderSee how the data looks withoutunmerging the cellscomponent toturn formulasinto literalvalues andunmerge anymerged cells, repeatingthe content of the merged cellinto each unmerged cellRequires KNIME 4.7 or laterRead the unmerhedxlsx fileI have manually excluded the rows containing "notes"at the bottom by specifyingthe range of rowsFlip the table roundFirst rowbecomes columnheadingsunpivot as requiredtidy therowidsOpen File or Folder Excel Reader Excel Unmerge Cells Excel Reader Transpose Row to ColumnHeader Unpivoting RowID reference to xls filein workflow data folderSee how the data looks withoutunmerging the cellscomponent toturn formulasinto literalvalues andunmerge anymerged cells, repeatingthe content of the merged cellinto each unmerged cellRequires KNIME 4.7 or laterRead the unmerhedxlsx fileI have manually excluded the rows containing "notes"at the bottom by specifyingthe range of rowsFlip the table roundFirst rowbecomes columnheadingsunpivot as requiredtidy therowidsOpen File or Folder Excel Reader Excel Unmerge Cells Excel Reader Transpose Row to ColumnHeader Unpivoting RowID

Nodes

Extensions

Links