Forum Discussion
anupambit1797
Oct 02, 2024Iron Contributor
Replace "," with a "Newline" in Excel
Dear Experts,
I have a query like below ;-
In Column "A", I have data like below, and need Output like in Column "D" ;
Thanks in Advance,
Br,
Anupam
- LorenzoSilver Contributor
- PeterBartholomew1Silver Contributor
Staying within the Excel formula environment, you could have
= TOCOL( HSTACK( TEXTBEFORE(pairs,","), TEXTAFTER(pairs,",") ) )
The more obvious use of TEXTSPLIT that would have mirrored the PowerQuery operation more closely fails because of Microsoft's well-known 'array of arrays' implementation error.
- anupambit1797Iron Contributor
Thanks , PeterBartholomew1 could you please help to provide the result sheet with the formula,
I tried the one you suggested but, seem to throw me a #NUM err.
Thanks in Advance,
Br,
Anupam
- LorenzoSilver Contributor
Replace YourTableName belows with your actual Table name:
= TOCOL( HSTACK( TEXTBEFORE(YourTableName[RLC-NR_Sequence Numbers(Subcell-9)],","), TEXTAFTER(YourTableName[RLC-NR_Sequence Numbers(Subcell-9)],",") ) )