+ Reply to Thread
Results 1 to 5 of 5

how to split 1/3/4/5 word name into two cell only

  1. #1
    Forum Contributor
    Join Date
    07-25-2019
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    2016
    Posts
    200

    Question how to split 1/3/4/5 word name into two cell only

    hello everyone,
    use formula how could i can split my 1 word or 3/4/5 word name into two cell only, attached file for your convenience.

    TIA
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.85 (24051214))
    Posts
    8,830

    Re: how to split 1/3/4/5 word name into two cell only

    this may be over complicated - and a simpler solution possible
    but
    for 1st name
    =IFERROR(LEFT(A2,SEARCH("^^",SUBSTITUTE(A2," ","^^",LEN(A2)-LEN(SUBSTITUTE(A2," ",""))))-1),TRIM(RIGHT(SUBSTITUTE(A2," ",REPT(" ",LEN(A2))),LEN(A2))))

    for 2nd name
    =IF(ISERROR(FIND(" ",A2,1)),"",TRIM(RIGHT(SUBSTITUTE(A2," ",REPT(" ",LEN(A2))),LEN(A2))))

    I'm sure someone else will simplify
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,474

    Re: how to split 1/3/4/5 word name into two cell only

    In F2:
    =IFERROR(LEFT(A2,FIND("|",SUBSTITUTE(A2," ","|",LEN(A2)-LEN(SUBSTITUTE(A2," ",""))))-1),A2)

    and in G2:
    =TRIM(SUBSTITUTE(A2,F2,""))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Forum Contributor
    Join Date
    07-25-2019
    Location
    Dhaka, Bangladesh
    MS-Off Ver
    2016
    Posts
    200

    Re: how to split 1/3/4/5 word name into two cell only

    thanks a lot Glenn Kennedy & etaf

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,474

    Re: how to split 1/3/4/5 word name into two cell only

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

+ 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] Split a line of words, each word in a separate cell
    By Hitch75 in forum Excel General
    Replies: 13
    Last Post: 08-08-2012, 10:10 PM
  2. Split cell so that the last word in separate column
    By CameronP in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-03-2012, 02:01 AM
  3. Finding certain word in cell....then split text
    By Lynx2x in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 02-22-2012, 08:09 AM
  4. Split only last word to next cell
    By santaklawze in forum Excel General
    Replies: 2
    Last Post: 09-03-2010, 10:00 AM
  5. Split up word in cell
    By spartacus13210 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-15-2006, 03:20 PM
  6. Replies: 2
    Last Post: 04-16-2006, 05:15 PM
  7. Split cell without breaking word?
    By Doug Benjamin in forum Excel General
    Replies: 8
    Last Post: 04-12-2006, 08:30 PM
  8. [SOLVED] Split cell as we do in table in word
    By PK Baranwal in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-09-2006, 03:00 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