Forum Discussion
Gaurav Sethi
Aug 03, 2018Copper Contributor
Split string at particular word. (space+word+space)
Hello all: I have a column in Excel that contains person's title and company name separated by " at ". I tried to split with text to column with left most and right most occurrence but could not ...
- Aug 03, 2018
Guarav, in your texts there is symbol CHAR(160) instead of space. You may use
=IFERROR(LEFT(A31,SEARCH(CHAR(160)&"at"&CHAR(160),A31)),A31)
for the left part, for the right one the formula is the same, attached.
Alternatively you may SUBSTITUTE that symbol on spaces.
Gaurav Sethi
Aug 03, 2018Copper Contributor
Thanks Sergei for replying. Somehow when I am using your formula for other records, it's not working. I've attached the file for your reference.
Best,
G
SergeiBaklan
Aug 03, 2018Diamond Contributor
Guarav, in your texts there is symbol CHAR(160) instead of space. You may use
=IFERROR(LEFT(A31,SEARCH(CHAR(160)&"at"&CHAR(160),A31)),A31)
for the left part, for the right one the formula is the same, attached.
Alternatively you may SUBSTITUTE that symbol on spaces.
- Gaurav SethiAug 03, 2018Copper ContributorThanks, Sergei!
- SergeiBaklanAug 03, 2018Diamond Contributor
You are welcome