+ Reply to Thread
Results 1 to 4 of 4

Move parts of info in a cell into their own cells

Hybrid View

  1. #1
    Registered User
    Join Date
    12-11-2012
    Location
    Houston
    MS-Off Ver
    Excel 2003
    Posts
    4

    Move parts of info in a cell into their own cells

    I have a list of over 5,000 names and addresses. The problem is that the city,state,zip part are in one cell but I need them to be split into three different columns. Ive attached a small sample of how it is now and how I need it to be. Please help
    Attached Files Attached Files

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Move parts of info in a cell into their own cells

    In C2
    =LEFT(A2,FIND("-",A2)-9)

    In D2
    =MID(A2,FIND("-",A2)-8,2)

    in E2
    =RIGHT(A2,LEN(A2)-FIND("-",A2)+6)

    Then copy down

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Move parts of info in a cell into their own cells

    Martin's formulas work..

    Perhaps in E2 you might simply wanna use
    =RIGHT(A2,10)
    considering the consistent length of zip codes
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Move parts of info in a cell into their own cells

    Hi beezer2484

    Not knowing if your Zip code are the same length or if the city has more then 2 words see the attached.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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