+ Reply to Thread
Results 1 to 6 of 6

Separating Fields out of an Address (Ex. Address, Suite, City, State, Zip)

  1. #1
    Registered User
    Join Date
    10-16-2008
    Location
    Chicago
    MS-Off Ver
    Microsoft 365 Version 2308
    Posts
    26

    Separating Fields out of an Address (Ex. Address, Suite, City, State, Zip)

    Hopefully this is relatively easy to use a formula separate out address fields (Columns B-F) from a cell that contains the full address in column A.

    one of my main issues is the address 2 field which is like suite number, some address have this, some don't, i don't know how to separate it out if the address does have it. Also the issue of including the 0 for a zip code that starts with 0.

    I including some examples.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,781

    Re: Separating Fields out of an Address (Ex. Address, Suite, City, State, Zip)

    Far from easy! as the only delimeter is the comma before State/Zipcode!

    What is the oldest Excel version for which the solution is required ? Please update your profile with this information
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Registered User
    Join Date
    10-16-2008
    Location
    Chicago
    MS-Off Ver
    Microsoft 365 Version 2308
    Posts
    26

    Re: Separating Fields out of an Address (Ex. Address, Suite, City, State, Zip)

    Thanks for the reply.

    yeah, i was thinking that was the case as I looked more at it and saw no one was really replying with solutions. another issue i see is cities that have 2 names in them, how will it know that?

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,540

    Re: Separating Fields out of an Address (Ex. Address, Suite, City, State, Zip)

    It won't. Not possible unless you have extensive lookup lists for the formula to reference.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,781

    Re: Separating Fields out of an Address (Ex. Address, Suite, City, State, Zip)

    The attached was produced using "bespoke" VBA which was tailored to the data you provided: some elements are (possibly) generic but a much greater sample would be required to produce a more general solution.

    Experience has taught us (respondents) that these problems are never resolved 100%.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    10-16-2008
    Location
    Chicago
    MS-Off Ver
    Microsoft 365 Version 2308
    Posts
    26

    Re: Separating Fields out of an Address (Ex. Address, Suite, City, State, Zip)

    Thanks all

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 01-23-2018, 02:26 PM
  2. How to Seperate City and State from the address
    By Ravishankar Thevar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-17-2016, 05:35 AM
  3. Pulling company name, street address, city, state, and zip from address
    By UNREAL2K4 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-13-2015, 12:53 PM
  4. Separating Street Address City State Zip that only contain spaces
    By tp5887 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-27-2015, 02:52 PM
  5. City, State Segregation from Address
    By Mohanmoni in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-14-2015, 04:49 PM
  6. I need Help to parse address city state zip and country if applicable for all fields
    By danpotash in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-01-2013, 03:16 PM
  7. How to get rid of the city and state in the address?
    By excel1212 in forum Excel General
    Replies: 2
    Last Post: 09-08-2012, 05:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1