separate state code column

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Separate state code from column containing full addresses...form

Separate state code from column containing full addresses...form

resolvedResolved · Urgent Priority · Version 2010

Nabilah has attended:
Excel VBA Intro Intermediate course

Separate state code from column containing full addresses...form

Hi,

I have a spreadsheet with a column of addresses in it. The addresses are not separated out by fields, e.g. street name, state, zipcode

Is there a way to organise the addresses by the two letter state code? Or to separate this information out into a new column so I can arrange myself?

Thanks so much!

RE: Separate state code from column containing full addresses...

Hi Nabilah,

Thank you for the forum question.

You have different options. If you select the column with the addresses and then click the DATA tap and TEXT TO COLUMNS in the DATA TOOLS group you may be able to do what you want or you have to use text functions to extract the text you want. You can use LEFT, RIGHT, MID, FIND, SEARCH and LEN functions.

If you send me an example (how exactly is the address typed in a cell), I can tell you the best way of doing it.

You can see how to use the functions by click the link below.

http://www.exceldigest.com/myblog/2009/02/01/how-to-extract-text-from-another-text-string/

Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Mon 29 Sep 2014: Automatically marked as resolved.


 

Excel tip:

Hiding and unhiding columns using the keyboard

CTRL + 0 hides your columns and CTRL + SHIFT + ) unhides them although you would need to highlight the column letters either side as per normal

View all Excel hints and tips


Server loaded in 0.1 secs.