I am importing a lot of tables from pdf-files into Excel by Powerquery - which works pretty well.
Beside several other migrations I have the following task which I am not able to solve:
In some cases - esp. after page breaks - single values that should go into single cells (one below the other) are placed into one cell joined by linebreaks and below cells are empty.
I need to split the values of such a cell (cell-content contains line-breaks) and put 2nd to n value into the according empty cells below this cell.
(It's kind of a "splitted drill-down" ...)
I am pretty new to M (not to VBA or programming) but I am not able to find a working solution.




