View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default How I separate first two letters of the sentence in msexcel

Hi,

First name
=LEFT(A1,FIND(",",A1,1)-1)
Second bit
=MID(A1,FIND(",",A1,1)+2,LEN(A1))

You may have to adjust the +2 to allow for spaces

Mike

"Ubaid Yousuf" wrote:

I have a name and address of the person in one cell of the ms excel sheet
and I like to separate name and address in two cells by using any command.
like shown

I have ;
"Zarina Nawabe, FL No.72ohra Classic,317/1- A,Brftto" in one cell.
and I like;
"Zarina Nawabe" and "FL No.72ohra Classic,317/1- A,Brftto" in two
cells.

Please give me some commands to how to do it in msexcel?