|  

» Splitting a Full Address into Three Separate Cells

Problem:

Separating the addresses shown in column A into three columns, one each for City, State, and Zip Code.

Solution:

Use the LEFT, MID, RIGHT, and FIND functions as shown in the following formulas:
To extract the City: =LEFT(A2,FIND(",",A2)-1)
To extract the State: =MID(A2,FIND(",",A2)+2,2)
To extract the Zip code: =RIGHT(A2,5)
Screenshot // Splitting a Full Address into Three Separate Cells
Splitting a Full Address into Three Separate Cells


Rate This Tip
12 34 5
Rating: 3.39     Views: 29731
Your formula does not work. I followed your exercise however it gives me an error of value:
Had to change "," for ;
=LEFT(A2;FIND(";";A2)-1)
I use Microsoft Excel 2003
gmoney10111
How do I use this?
Click here to post comment
For Registered Users
Name
Comment Title
Comments