Hi,
I get speadsheets from my banking account with several CR LF in one cell which results in a varying number of spreadsheet lines for a single bank account movement. The cell content has to be “flattened” (i.e. the CR LF removed) to create a single line per movement so that I can use the downloaded spreadsheet for calculations and graphing.
A second difficulty is that a single account movement can have 2, 3, or more lines.
The tables looks like this.
I tried with the CLEAN functions but it cleans the first line of a cell only , not a cell with multiple lines.
This site
gives a solution for the problem that works in Excel but it does not in LibreOffice.
Manually removing did not work either as it seems that the Ctrl-J shortcut does not exist in Calc.
I then adapted the SUBSTITUTE function given in the Ablebits example to my table
=SUBSTITUTE(SUBSTITUTE(B3:B6;CHAR(13);"");CHAR(10);"")
but the functions only reads the first line, in this example B3.
Maybe manually retyping several hundreds lins of accounting would be more rapid ??
I can’t believe it.
Any working idea appreciated.
Libreoffice 5.4.2 64-bit, Win 7 Prof