View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
dennis dennis is offline
external usenet poster
 
Posts: 202
Default Extracting part of data

If your phone numbers are in column A then column B gets the code with
=LEFT(A1,FIND(" ",A1)-1)
Column C gets the phone number with
=MID(A1,FIND(" ",A1)+1,LEN(A1)-FIND(" ",A1))

"Himani" wrote:

I have a list of phone numbers in one column and I need to separate
the bit before the space from the bit after it. e.g. 0 0 01444 831918
etc So I need to extract the 01444 before the space into column
Telephone area code and 831918 into telephone. Can someone please
advise? Thanks Himani