Separate TEXT

  • Thread starter Thread starter DAA
  • Start date Start date
D

DAA

Is there a way to separate text.

A1= John A. Doe

I would like to separate the text on A1 that would show:

B1= John
C1= A (without the period)
D1= Doe

Help and thanks in advance.
 
Assuming that the name will always have the same format

FirstName MiddleInitial. LastName

Formula Solution:

In B1 enter =LEFT(A1,FIND(" ",A1,1)-1)
In C1 enter =MID(A1,FIND(".",A1)-1,1)
In D1 enter =RIGHT(A1,LEN(B1)+LEN(C1)+2)

Copy these formulas down for as far as you have data in
column A.

tod
 
In this instance you will also need to tick Other and put a period in the box.
Make sure that 'Treat Consecutive Delimiters as one' is checked.
 
Hi,

try,

B1=LEFT(A1,FIND(" ",A1)-1)
C1=MID(A1,FIND(" ",A1)+1,1)
D1=RIGHT(A1,LEN(A1)-(FIND(".",A1)+1))

Hope this helps!
 
Thanks Domenic. It worked perfectly!
-----Original Message-----
Hi,

try,

B1=LEFT(A1,FIND(" ",A1)-1)
C1=MID(A1,FIND(" ",A1)+1,1)
D1=RIGHT(A1,LEN(A1)-(FIND(".",A1)+1))

Hope this helps!


.
 
I typed "John A. Doe" into A1, then used the formulas provided in the post
in B1, C1, and changed the D1 formula and it worked fine.

Good day.
 
Back
Top