Forum Discussion
WSokol
Jun 14, 2023Copper Contributor
Split data in a single cell
How can I split data in a single cell when there isn't a clear data separation point? I need to separate the two lines into columns. The source data format cannot be changed. I cannot figure out a ...
- Jun 14, 2023
I thought there were 2 cells.
Try Text to Columns with Delimited as type.
Tick the Other check box and press Ctrl+J in the box next to it. This is the code for a line break.
HansVogelaar
Jun 14, 2023MVP
With such a value in A2:
In B2: =LEFT(A2,FIND(" ",A2)-1)
In C2: =MID(A2,FIND(" ",A2)+1,FIND(":",A2)-FIND(" ",A2)-1)
In D2: =MID(A2,FIND(":",A2)+2,FIND("/",A2)-FIND(":",A2)-2)
In E2: =MID(A2,FIND("/",A2)+1,FIND("/",A2,FIND("/",A2)+1)-FIND("/",A2)-1)
In F2: =MID(A2,FIND("/",A2,FIND("/",A2)+1)+1,100)
Fill down
WSokol
Jun 14, 2023Copper Contributor
Thank you, very close but this doesn't separate the end of the Payroll ID number from the 2nd FName
"11111FName LName: Custom Identifier"
This is the field when un-wrapped:
FName LName: Custom Identifier/External Payroll ID/11111FName LName: Custom Identifier/Personal Identification Number/9999999
"11111FName LName: Custom Identifier"
This is the field when un-wrapped:
FName LName: Custom Identifier/External Payroll ID/11111FName LName: Custom Identifier/Personal Identification Number/9999999
- HansVogelaarJun 14, 2023MVP
I thought there were 2 cells.
Try Text to Columns with Delimited as type.
Tick the Other check box and press Ctrl+J in the box next to it. This is the code for a line break.
- WSokolJun 14, 2023Copper ContributorThat works, thank you so much!