Thread: City State Zip
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
L. Howard Kittle L. Howard Kittle is offline
external usenet poster
 
Posts: 698
Default City State Zip

For the city

=LEFT(E2,LEN(E2)-8)

For the state

=MID(E2,LEN(E2)-7,2)

For the Zip

=RIGHT(E2,5)

Then Copy and Paste Special Values to get rid of the formulas.

HTH
Regards,
Howard

"Texas Nuckols" wrote in message
...
When I use Text to Columns this separates fine until it gets to Oklahoma
City, Fort Smith, San Diego, Little Rock, etc. Then I get a separate
column
for City, Smith, Diego, Rock. Raw data had City State and Zip all
separated
by Spaces, no commas or tabs. The database is too long to do all of these
manually. Please Help Soon??!

Need this:
Little Rock AR 72207

to be:
|Little Rock|AR|72207|

Not:
|Little|Rock|AR|72207