View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Fam via OfficeKB.com Fam via OfficeKB.com is offline
external usenet poster
 
Posts: 5
Default sperate from the space, in text, in the same cell

thanks Jeff

Jeff Standen wrote:
You could use the SEARCH worksheet function. This searches for a specific
character in a cell and returns the position. Combine it with LEFT or MID
(or RIGHT, if you also use LEN) to get the name you want.

=LEFT(A1,SEARCH(" ",A1)-1)

will give you the first name

=RIGHT(A1,LEN(A1)-SEARCH(" ",A1))

will give you the surname. You will have to be a little more creative if
there are middle names though.

Jeff

Hi..
Is there a way tpo seperate or extract out first or last name from the

[quoted text clipped - 4 lines]
Any help will be appreciated
thx


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200605/1