+ Reply to Thread
Results 1 to 5 of 5

Thread: Splitting text in a cell

  1. #1
    Registered User
    Join Date
    08-22-2008
    Location
    London
    Posts
    20

    Splitting text in a cell

    Hi All,

    I was wondering if there was a formula in which you can split text in a cell. something like an =FIND formula or even an "UN-CONCATENATE" as such.....

    For Example

    In Cell A1 I would have - BLOGS JOE
    In Cell A2 I would have - CARTER WILLIAM
    In Cell A3 I would have - SMITH JOHN

    What I would like in cell B1 would be something like - "=FIND(" ",A1,and count back to the beginning of the cell and copy and paste details here)

    What I would like in cell C1 would be something like - "=FIND(" ",A1,and count back to the end of the cell and copy and paste details here)

    in order to give

    A1 - BLOGS JOE
    B1 - BLOGS
    C1 - JOE

    and then all I'd have to do is copy the formula down....

    Thanks,
    Jon

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    6,202

    Re: Splitting text in a cell

    Select data -> Data -> Text to columns -> Delimited -> Choose space for delimiter -> Finnish
    "Relax. What is mind? No matter. What is matter? Never mind!"

  3. #3
    Valued Forum Contributor
    Join Date
    07-24-2009
    Location
    Northborough, MA USA
    MS-Off Ver
    Excel 2010
    Posts
    212

    Re: Splitting text in a cell

    Paste the following formulas in the indicated cells

    In B1:
    =LEFT(A1,FIND(" ",A1))

    In C1:
    =MID(A1,FIND(" ",A1,1)+1,LEN(A1))

  4. #4
    Registered User
    Join Date
    08-22-2008
    Location
    London
    Posts
    20

    Re: Splitting text in a cell

    Thank you!!

    That has worked just fine!!!

  5. #5
    Forum Guru pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2010
    Posts
    5,150

    Re: Splitting text in a cell

    Hi jon_wolf69

    in B1 =left(a2,search(" ",a1)-1) with <control enter>
    then in c1 =mid(a1,search(" ",a1)+1,100) with <control enter>
    regards pike

    If the solution helped please donate
    here to the RSPCA

    Sites worth visiting;

    J&R Solutions - royUK

    AJP Excel Information - Andy Pope

    Spreadsheet Toolbox

    VBA for smarties - snb

+ 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.2.0