I have cells with data like this (all in the same cell)
Lender: ASB, Limit: 45345, Balance: 34534
Lender: BNZ, Limit: 5435, Balance: 345
This formula achieves the outcome that I am after; it separates the data by comma and then by line into one row:
=SPLIT(join(",",SPLIT(substitute(A2," ",""),Char(10))),",")
However, I need this to work as an array, something like:
=ArrayFormula(if(A2:A="","",SPLIT(join(",",SPLIT(substitute(A2:A," ",""),Char(10))),",")))
I have read this ARRAYFORMULA() does not work with SPLIT() and can't come up with a working solution. Any ideas?