Oct 01 2024 07:34 PM
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
Oct 01 2024 09:41 PM
SolutionOct 01 2024 11:11 PM
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.
Oct 02 2024 10:13 AM
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
Oct 02 2024 10:27 AM
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)],",")
)
)
Oct 02 2024 11:04 PM
Seems I did not hit Save on the file. Still, it was quick enough to reintroduce the defined name 'pairs' and copy/paste the formula.
Stacking variable length comma-separated strings is something that is possible, but far harder to achieve.
Oct 01 2024 09:41 PM
Solution