Quickie !! Split text in a cell

S

Soapydux

Hi I am trying to split a name into firstname & surname, but cant seem
to do it.

I have in say Cell A1 John_Smith

and I want to automatically have

Cell B1 John
Cell C1 Smith

Thanks
 
D

Dave Peterson

Select the column
data|text to columns
delimited by a space (or other (underscore???))
 
G

Guest

Dave's is the easiest method, but if you need a formula use these

=LEFT(A1,FIND("_",A1)-1)
=RIGHT(A1,LEN(A1)-FIND("_",A1))
 

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