Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Temasek Boulevard, Suntec Tower, (Singapore 0389)

The above sentence is a address . The last two words is country name (singapore) and zipcode (0389).

How to split country name and zip code in two different cells?

share|improve this question

migrated from stackoverflow.com Jul 22 '13 at 0:59

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 1 down vote accepted

Select the column containing the addresses. Go to Data > Text to Columns. Select Delimited, then press next and uncheck all of the delimiters. Check the box next to Other and put in a left bracket as the delimiter. Once you've done this, you'll have to repeat the process, using a space as the delimiter to separate the last two values, then use find and replace to remove the last bracket.

share|improve this answer
    
Thank you! its useful –  Anand Selvaraj Jul 20 '13 at 10:03
    
@AnandSelvaraj .. you may make a green tick below the downvote sign if this helped ... –  matzone Jul 20 '13 at 10:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.