Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Someone brilliant have code to parse messy Address City State ZIP into 4
separate fields? If address has Apt number it should NOT be parsed separate but included in address fields. Here are examples we get of data downloaded daily...the main common theme is CA is consistent: 15629 FAIRFORD AVENUE, NORWALK, CA 90650 5947-5949 SOUTH SAN PEDRO, STREET, LOS ANGELES, CA 90003 Vacant Land, Long Beach, CA 4627-4627 1/2 STRANGE AVENUE, Los Angeles (Area), CA 90022 15522 SYLVAN STREET, (VAN NUYS AREA) LOS ANGELES, CA 91411 4325, 4327 & 4329 Stern Ave., North Hollywood, CA 91423 19200 LAHEY STREET, UNIT 4,, Los Angeles, CA 91326 Example 1 is typical easy parse, majority of data. Example 2 the word STREET should not have been separated by comma. Example 3 has no zip code or street numbers. Example 4 has dash and / in street numbers and (AREA) should be removed. Example 5 (VAN NUYS AREA) should be removed. Example 6 has extra comma in address at front. Example 7 should have UNIT 4 glued to address, and extra commas need removal. If someone can write something to handle all of this, you are awsome! If you can get everything except example 3 that is ok....I can strip those out ahead of time...they either say VACANT LAND or RAW LAND...but I would like to have them if possible. Thanks in advance! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Seperate Name, Street Address & City, State Zip | Excel Worksheet Functions | |||
separate an address street/city,state,zip within a cell? | Excel Worksheet Functions | |||
parsing out an undelimited address and city | Excel Discussion (Misc queries) | |||
parsing out an undelimited address and city | Excel Discussion (Misc queries) | |||
long address list, name-address-city, listed vertically, how do y. | Excel Discussion (Misc queries) |