New to Knime and was wondering how to insert blank rows based on cell value from an existing Excel file, I have created a sorter. In excel I have created a program button to do this. Stumped on how to do this in Knime. Any help would greatly be appreciated.
Example if excel sheet Cell c2 through C6 would have “giant”. Cell C7 through C8 would have “mini”. Cell C9 through C16 would have “small” . And so on. Goal is to insert blank rows between each change in size. Is it possible?
This will work on the assumption that the sizes will not repeat… i.e. in your example mini is only the first 4 rows and mini does not appear again further down in the table.
The workflow iterates over the different groups of sizes and then inside the loop “flips” the table 90 degrees moving row indexes to columns and column names to row indexes. Then a column “Blank” is added before it is flipped again to return to original column names and with one additional row (blank column from before) at the bottom.