Forum Discussion
QOne7535
Feb 13, 2024Copper Contributor
remove all other char spaces number from from cell: only the first char after space must remain
hello can anyone advise why this formula i created
=LEFT(TRIM(L161),FIND(" ",(L161))-1) results #value!
send me email email address removed for privacy reasons
If you have Microsoft 365:
=LET(T, TRIM(L161), IFERROR(TEXTBEFORE(T, " "), T))
Otherwise:
=IFERROR(LEFT(TRIM(L161), FIND(" ", TRIM(L161))-1), TRIM(L161))
7 Replies
Sort By
- Harun24HRBronze ContributorCan you show some sample?
- QOne7535Copper Contributor
- Detlef_LewinSilver ContributorThere is no space in L161.
- QOne7535Copper Contributorthis are sample input:
3-1599 SN 0766
VARIOUS
K24.5100.7 S/N 4083/5683/1347
I like the first word only removing others- Detlef_LewinSilver Contributor
=TAKE(TEXTSPLIT(L161," "),,1)