Forum Discussion
How to replace without destroying formatting and in-cell-linebreak?
Hi,
Please check the attachment.
Warp Text
=TEXTJOIN(CHAR(10),,LET(a,TEXTSPLIT(A1,CHAR(10)),IF(RIGHT(a)=":","",a)))
instead of
=TEXTJOIN(CHAR(10),,LET(a,TEXTSPLIT(A2,CHAR(10)),IF(RIGHT(a)=":","",a)))
: not :(Chinese)
- peiyezhuMar 15, 2024Bronze Contributor
If you want to keep bold and blue font while clean some characters,it looks some difficulty to achieve.
Because you can see just a single replace need so long function.If you want to parse bold and blue fonts and then reorgnize and render them,I guess not an easy work.Btw:
"n.意外发现珍奇事物的能力 luck, or good fortune, in finding something good accidentally 例:result of serendipity 机缘巧合的结果 近: 派:"
Why luck and accidentally are bold?
Can tell them or pick out them by some hints?
Color of serendipity is blue because this is the vocabulary itself.
- g-00000Mar 15, 2024Copper ContributorOh yes indeed. Sorry didn’t change:to: in 1.xlsx.
But this still doesn’t fix the problem of destroying formatting. - peiyezhuMar 14, 2024Bronze Contributor