Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

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

ResolvedVersion 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:

Quickly insert a function

In Excel 97 and 2000 it was known as the Paste Function dialog box, these days it's known as the Insert Function dialog box. Regardless, one has to choose Insert|Function. or the fx button to open it up. There is, however, a non-mousey way to get hold of the Insert Function dialog box: press Shift+F3 in a blank cell to open the Insert Function dialog.

Press Shift+F3 after a function name and open bracket to open the Function Arguments dialog. For example, type =VLOOKUP( into a cell and press Shift+F3 to obtain a detailed description of VLOOKUP's arguments.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.