+ Reply to Thread
Results 1 to 7 of 7

Splitting a cell into two cells...

  1. #1
    Registered User
    Join Date
    08-14-2015
    Location
    Isle of Man
    MS-Off Ver
    MAC
    Posts
    3

    Splitting a cell into two cells...

    Hi there...

    I am a newbie!! I have a problem that I am trying to get around. I have a list of names of clients and their full name appears in one cell. The format is

    Smith, John.

    I want it to appear in two cells as first name and last name. Anyone any ideas as to how I can do this?

    Frank

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Splitting a cell into two cells...

    Select the Column

    Ctrl+H

    Find: , Replace with:

    Data Tab->Text To Column

    Delimited, Choose Space

    Hit Okilly Dokilly
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: Splitting a cell into two cells...

    Yes, you look for the comma and split it at that point. So assuming the combined name is in A2 (and that the full-stop isn't part of it), put this in B2:

    =RIGHT(A2,LEN(A2)-FIND(",",A2)-1)

    and this in C2:

    =LEFT(A2,FIND(",",A2)-1)

    then copy down.

    Hope this helps.

    Pete

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Splitting a cell into two cells...

    If there is ALWAYS a comma in the data separating the surname and forename then

    for surname
    =LEFT(A1,FIND(",",A1)-1)

    for forename
    =RIGHT(A1,LEN(A1)-FIND(",",A1)-1)
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  5. #5
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Splitting a cell into two cells...

    If the comma may or may not be present, this will take care of both situations:
    With the names in column A starting in A1 enter this formula in B1 and fill down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Enter this in C1 and fill down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    A
    B
    C
    1
    John, Smith John Smith
    2
    Harry Houdini Harry Houdini
    3
    Adam, Jones Adam Jones
    4
    Sue Allenby Sue Allenby
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  6. #6
    Registered User
    Join Date
    08-14-2015
    Location
    Isle of Man
    MS-Off Ver
    MAC
    Posts
    3

    Re: Splitting a cell into two cells...

    a great assortment of ways to do the job...Thank you all so much, I truly appreciate it.

    Frank

  7. #7
    Registered User
    Join Date
    08-14-2015
    Location
    Isle of Man
    MS-Off Ver
    MAC
    Posts
    3

    Re: Splitting a cell into two cells...

    a great assortment of ways to do the job...Thank you all so much, I truly appreciate it.

    Frank

+ 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 Data in 1 cell into 3 cells
    By Sharon Hague in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-05-2012, 12:08 PM
  2. Splitting 2 values in once cell to 2 other cells
    By obionenairobi in forum Excel General
    Replies: 4
    Last Post: 02-06-2011, 09:55 AM
  3. Splitting a Cell into multiple Cells
    By Royy in forum Excel General
    Replies: 8
    Last Post: 09-08-2010, 02:23 PM
  4. Splitting Data from cell into 2 cells
    By Frogger0102 in forum Excel General
    Replies: 4
    Last Post: 08-20-2010, 02:25 PM
  5. Splitting cell value into different cells
    By ramserp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-12-2009, 10:43 AM
  6. Splitting cell into two cells
    By TBeverson in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-28-2009, 04:51 PM
  7. Splitting a cell into two cells
    By wiggidywhack in forum Excel General
    Replies: 2
    Last Post: 03-12-2009, 07:49 AM
  8. Splitting content of cell into 2 cells
    By Mark Christensen in forum Excel General
    Replies: 5
    Last Post: 08-15-2006, 04:50 PM

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