+ Reply to Thread
Results 1 to 6 of 6

How to extract and split 1 cell content into 2 cells

  1. #1
    Registered User
    Join Date
    09-11-2016
    Location
    Israel
    MS-Off Ver
    Home 2016
    Posts
    22

    How to extract and split 1 cell content into 2 cells

    hello,
    I'd like to convert the following cell containg the following text:

    01. Adam F & Kokiri Fe. Rae ‘Harmony’ (Kideko & George Kwali Radio)

    so the source entry would be located in cell A1 and the export would be located at B1 and B3, split into 2 cells:
    1st cell:
    Adam F & Kokiri Fe. Rae
    2nd cell:
    Harmony (Kideko & George Kwali Radio)

    what the function should do is:
    1. remove the numbers and space at the beginning.
    2. split the part that starts after the first '
    3. discard both ' key

    another 2 examples:
    21. Wstrn ‘Social’
    split into 2 cells:
    1st:
    Wstrn
    2nd:
    Social

    16. MNEK ‘At Night (I Think About You)’ (Subside Remix)
    split into 2 cells:
    1st:
    MNEK
    2nd:
    At Night (I Think About You) (Subside Remix)

    Please help me with this. What's the needed formula?

    Regards,

  2. #2
    Forum Contributor
    Join Date
    06-20-2012
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    359

    Re: How to extract and split 1 cell content into 2 cells

    Hello,

    For the first part try the following

    =TRIM(MID(A1,FIND(".",A1,1)+1,FIND("‘",A1,1)-FIND(".",A1,1)-1))

  3. #3
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: How to extract and split 1 cell content into 2 cells

    First part

    =TRIM(MID(A1,FIND(" ",A1),FIND("‘",A1)-FIND(" ",A1)))

    Second part

    =SUBSTITUTE(MID(A1,FIND("‘",A1)+1,LEN(A1)),"’","")

  4. #4
    Forum Contributor
    Join Date
    06-20-2012
    Location
    India
    MS-Off Ver
    Office 365
    Posts
    359

    Re: How to extract and split 1 cell content into 2 cells

    For the Second Party Try

    =MID(A1,FIND("‘",A1,1)+1,LEN(A1)-FIND("‘",A1,1))

    Later you can find and replace the " ‘ " using find and replace option in excel.

  5. #5
    Registered User
    Join Date
    09-11-2016
    Location
    Israel
    MS-Off Ver
    Home 2016
    Posts
    22

    Re: How to extract and split 1 cell content into 2 cells

    WOW Thanks guys what an awesome forum

    Super fast replies

    jason.b75 got it right thanks a lot

    thanks zaska as well (the 1st ' key was not removed in your formula but thanks a lot man)

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: How to extract and split 1 cell content into 2 cells

    ignore post
    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.

+ 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. vba to extract & split& trim one cell data to distinct cells on two worksheets
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-02-2016, 01:48 PM
  2. [SOLVED] split content of a cell into two different cells
    By clovelly in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 06-15-2016, 02:26 AM
  3. [SOLVED] Split Cell content
    By Funtooskool in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-28-2016, 07:15 PM
  4. [SOLVED] Extract/Split Data from one cell to different cells
    By mohdabrar in forum Excel General
    Replies: 5
    Last Post: 03-26-2015, 03:17 PM
  5. Replies: 4
    Last Post: 02-05-2012, 02:11 PM
  6. Split content in cell
    By acampos in forum Excel General
    Replies: 1
    Last Post: 08-19-2009, 11:56 AM
  7. Split Cell content in multiple cells
    By pomolo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-28-2008, 07:10 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