View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.newusers
ASA ASA is offline
external usenet poster
 
Posts: 13
Default How to Split the contents of cells across multiple cells

Assuming that the state field is 3 characters and that the postcose is the
last four characters after one space


For the city = Left( a1, len(a1)- 8)
For the sate = left(right(a1,8),3)
for the post code right(a1,4)

"anna" wrote:

How to Split the contents of cells across multiple cells
Hi ,
Im trying to split address from one cell across multiple cells with no
success with Data / column to Text and then wizard if the suburb was only
one word it would be no problem but sometimes it has two words Like Port
Augusta then state and postcode
example
Greenwith WA 5122 works ok splits into 3 columns but
Port Augusta WA 5147 not because I got Port August in one column and ta
in next column and state and post code together and if there is a longer
name it goes into for columns can you please help me to solve that
Thank you in advance