Easy one for the Pros!

S

sjs

I've got a single cell containing a first and last name, seperated by a
space. I need to break it into two cells:

I've got I need
Cell1 Cell2 Cell3
John Doe John Doe

I was thinking my formula would be:

=Left(A1,Find(" ",A1)25)

But no joy...

Thanks in advance!
steve
 
M

Mike H

Hi

first name
=LEFT(A1,FIND(" ",A1,1)-1)
second name
=MID(A1,FIND(" ",A1,1)+1,9999)

Mike
 
J

JP

First name:

=Left(A1,Find(" ",A1)-1)

Last name:

=MID(A1,FIND(" ",A1)+1,LEN(A1)-FIND(" ",A1))
 
P

Peo Sjoblom

Use data>text to columns (make a backup of the file first), use space as
delimiter and make sure the adjacent column to the right is empty

or


=Left(A1,Find(" ",A1)-1)


assume you put that formula in B1, in C1 use

=TRIM(SUBSTITUTE(A1,B1,""))


--


Regards,


Peo Sjoblom
 
S

sjs

Thanks everyone, I appreciate your help!!

steve

Peo Sjoblom said:
Use data>text to columns (make a backup of the file first), use space as
delimiter and make sure the adjacent column to the right is empty

or


=Left(A1,Find(" ",A1)-1)


assume you put that formula in B1, in C1 use

=TRIM(SUBSTITUTE(A1,B1,""))


--


Regards,


Peo Sjoblom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top