Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Throw it all in one column and then parse it. The city can be had by
subtracting the State and Zip or Len-9 and you can take the right 5 for the Zip. As for the State use the starting point of LEN-8 and take 2 chars. Texas Nuckols wrote: 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 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sorry, Bob I - I don't speak Greek...Can you translate please? I don't know
parses and len-8s and 9s. Thanks "Bob I" wrote: Throw it all in one column and then parse it. The city can be had by subtracting the State and Zip or Len-9 and you can take the right 5 for the Zip. As for the State use the starting point of LEN-8 and take 2 chars. Texas Nuckols wrote: 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 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Ok, put the string Little Rock AR 72207 in A1
now in B1 put =LEFT(A1,LEN(A1)-9) in C1 goes =MID(A1,LEN(A1)-7,2) and D1 has =RIGHT(A1,5) Texas Nuckols wrote: Sorry, Bob I - I don't speak Greek...Can you translate please? I don't know parses and len-8s and 9s. Thanks "Bob I" wrote: Throw it all in one column and then parse it. The city can be had by subtracting the State and Zip or Len-9 and you can take the right 5 for the Zip. As for the State use the starting point of LEN-8 and take 2 chars. Texas Nuckols wrote: 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
separate an address street/city,state,zip within a cell? | Excel Worksheet Functions | |||
Compare City and State to Master List | Excel Worksheet Functions | |||
zip code to city, state function | Excel Worksheet Functions | |||
city, state, zip in same cell | Excel Discussion (Misc queries) | |||
Splitting City State Zip | Excel Worksheet Functions |