Thread: Text to Columns
View Single Post
  #2  
Old June 1st, 2010, 06:47 PM posted to microsoft.public.excel.misc
Luke M[_4_]
external usenet poster
 
Posts: 451
Default Text to Columns

Instead of using Text to columns, I'd do this via formulas:
First Name:
=LEFT(A2,FIND(" ",A2)-1)

Surname:
=MID(A2,FIND(" ",A2)+1,999)

--
Best Regards,

Luke M
"Emece" wrote in message
...
Hi.

I have a column where I have names and surnames. I want to put name in one
column and surname in anoter column. In order to do this, I use Text to
Columns, but I have the following issue: if the cell contains for example
Juan Pérez, it works ok, but when the cell contains Juan De los Santos, it
assumes there are three surnames, and then put me one word in each column.

This is the result, with the example mentioned:
A B C D
Juan Pérez
Juan De los Santos

How can I indicate that I want De los Santos, all in one cell?

Thanks in advance

Regards,
Emece.-