+ Reply to Thread
Results 1 to 6 of 6

Splitting textstring (adress) into seperate columns

  1. #1
    Registered User
    Join Date
    08-11-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    93

    Splitting textstring (adress) into seperate columns

    Hello forum!

    I have address that sits in one cell only and I need to separate into two or three columns (streetname, street number, streetletter).

    Is this possible as the length of street text, numbers and letter differs all the time...

    Attached is a sample file with before and after result

    Thanks
    Attached Files Attached Files
    Last edited by soli004; 06-02-2014 at 01:01 PM.

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Splitting textstring (adress) into seperate columns

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Splitting textstring (adress) into seperate columns

    Try the attached
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    08-11-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    93

    Re: Splitting textstring (adress) into seperate columns

    Quote Originally Posted by jindon View Post
    Try the attached
    Works fantastic!!

    But how to implement if you have data in other cells?

    Addresses are actually in column "F" and I have data in cells from column A to S.

    I tried to insert two extra columns after "F" and had the first address selected then run your code, no success...

    How can I make it work from the "F" column?

    Thanks for fast reply!

  5. #5
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,525

    Re: Splitting textstring (adress) into seperate columns

    Data in Col.F, output to G:I ?
    change to
    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    08-11-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    93

    Re: Splitting textstring (adress) into seperate columns

    Great!

    Thanks!

+ 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. Splitting rows with multiple columns into seperate rows for time points.
    By mbracha in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-16-2013, 10:06 AM
  2. Splitting Information in columns into seperate rows
    By undergraduate in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-19-2010, 06:15 PM
  3. Replies: 1
    Last Post: 11-07-2009, 10:09 AM
  4. Splitting Date & Time into two seperate columns
    By mccrimmon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-29-2008, 08:42 AM
  5. How to adress columns
    By adiman84 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-23-2008, 03:18 AM

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