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?
Mike H - 16 May 2008 21:20 GMT
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
> 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.
[quoted text clipped - 7 lines]
>
> Please give me some commands to how to do it in msexcel?
PCLIVE - 16 May 2008 21:23 GMT
One way,
If your data was in A1:
First cell:
=LEFT(A1,FIND(",",A1)-1)
Second Cell:
=RIGHT(A1,LEN(A1)-FIND(",",A1)-1)
HTH,
Paul
>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
[quoted text clipped - 9 lines]
>
> Please give me some commands to how to do it in msexcel?