+ Reply to Thread
Results 1 to 3 of 3

Space delimited text to multiple columns

  1. #1
    Registered User
    Join Date
    06-04-2010
    Location
    Leeds, England
    MS-Off Ver
    Excel 2007
    Posts
    9

    Space delimited text to multiple columns

    Hi,

    I know how to split text from one column into multiple columns.

    However, the record in row 4 (See attached) creates three columns (David, J and Osborn), which overwrites the data in column E.

    Is there a way that I can stop this happening? i.e. tell excel to have David J in one column and Osborn in the other whilst still splitting all of the other records without an initial?

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Space de-limited text to multiple columns

    Use formulas...

    In C2: =LEFT(B2,IF(ISNUMBER(SEARCH(".",B2)),FIND(".",B2),FIND(" ",B2)-1))

    copied down and in D2: =TRIM(SUBSTITUTE(B2,C2,""))

    You can then copy and Paste Special|Values over the formulas if you want to get rid of them.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Space de-limited text to multiple columns

    A possible solution 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)

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