+ Reply to Thread
Results 1 to 12 of 12

How to separate a name lumped together

  1. #1
    Registered User
    Join Date
    12-07-2015
    Location
    viera, FL
    MS-Off Ver
    Ofiice 365
    Posts
    32

    How to separate a name lumped together

    I downloaded a bunch of data but the names (350+ of them) are all listed exactly like this: Harden, JamesJames Harden

    How can I manipulate this to look like this: James Harden

    Thank you in advance.

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

    Re: How to separate a name lumped together

    Assuming that string is in A2, put this formula in B2:

    =MID(LEFT(A2,LEN(A2)/2+1),FIND(",",A2)+2,255)&" "&LEFT(A2,FIND(",",A2)-1)

    then copy down as required.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    12-07-2015
    Location
    viera, FL
    MS-Off Ver
    Ofiice 365
    Posts
    32

    Re: How to separate a name lumped together

    Thanks Pete, it's almost there. The result is this: JamesJ Harden

  4. #4
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    MS365
    Posts
    607

    Re: How to separate a name lumped together

    Hi fpgary, this seems to work, bit messy looking though.

    Please Login or Register  to view this content.
    Edit: Ahh beaten again...I'm just too slow

    Actually, Just tried Pete's formula in my sheet and it works fine.
    Last edited by Beamernsw; 12-14-2015 at 09:38 PM.

  5. #5
    Registered User
    Join Date
    12-07-2015
    Location
    viera, FL
    MS-Off Ver
    Ofiice 365
    Posts
    32

    Re: How to separate a name lumped together

    Thanks Beamernsw but same as Pete's. The result is: JamesJ Harden

  6. #6
    Registered User
    Join Date
    12-07-2015
    Location
    viera, FL
    MS-Off Ver
    Ofiice 365
    Posts
    32

    Re: How to separate a name lumped together

    Why wouldn't it work for me? Do you have a different version? I have excel 2013.

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

    Re: How to separate a name lumped together

    Perhaps you have more or fewer spaces than shown in your single example. Attach a sample workbook and it will be clearer to us.

    Pete

  8. #8
    Registered User
    Join Date
    12-07-2015
    Location
    viera, FL
    MS-Off Ver
    Ofiice 365
    Posts
    32

    Re: How to separate a name lumped together

    I can't figure out how to attach a file to this existing post.

  9. #9
    Registered User
    Join Date
    12-07-2015
    Location
    viera, FL
    MS-Off Ver
    Ofiice 365
    Posts
    32

    Re: How to separate a name lumped together

    figured it out. see attached. TY
    Attached Files Attached Files

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

    Re: How to separate a name lumped together

    Yes, you had two spaces at the end of your names. Try this formula in B2 instead:

    =MID(LEFT(TRIM(A2),LEN(TRIM(A2))/2+1),FIND(",",A2)+2,255)&" "&LEFT(A2,FIND(",",A2)-1)

    then copy down.

    Hope this helps.

    Pete

  11. #11
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,675

    Re: How to separate a name lumped together

    Another approach:

    Please Login or Register  to view this content.
    to search string to find where a lowercase and uppercase letter stick together like this "Harden, JameJames Harden "
    Quang PT

  12. #12
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2506
    Posts
    13,792

    Re: How to separate a name lumped together

    And another.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

+ 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. [SOLVED] Excel2010 IF Formula to return value based on a separate date and two separate text values
    By jakecutler in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-12-2015, 03:24 AM
  2. [SOLVED] Macro needed to Concatenate data in 2 separate tables of 2 separate sheets
    By 823 in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 02-08-2015, 02:02 PM
  3. [SOLVED] formular to separate lumped data
    By emymeeky in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-24-2014, 10:50 AM
  4. [SOLVED] How to extract email lumped in the same cell with other data?
    By todorko in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-16-2013, 03:07 PM
  5. Replies: 2
    Last Post: 07-06-2012, 05:31 AM
  6. Replies: 3
    Last Post: 08-12-2010, 03:45 PM
  7. Macro to auto-email separate worksheets of same workbook to separate recipients?
    By Sean Anderson in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-09-2007, 09:51 PM

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