+ Reply to Thread
Results 1 to 3 of 3

extract text from cell

  1. #1
    Registered User
    Join Date
    04-25-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    12

    extract text from cell

    See example data below I need to extract the name from each jersey in cell A and place in the cell beside in column B. I can get a formula to find the Name on Back: text and print the characters after but how do I make sure it only prints the name and not any of the text that can can come after it sometimes

    A1 Champions Jersey [ Name on Back: Jimmy ]
    A2 Losers jersey [ Long Sleeves: Yes ] [ Name on Back: Bob ]
    A3 1989 Retro home Jersey [ Name on Back: Elvis ] [ Long Sleeves: Yes ]

    Many Thanks

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,136

    Re: extract text from cell

    hi dbmrexcel1981, welcome to the forum. try:
    =TRIM(MID(A1,SEARCH(" back:",A1)+6,FIND("]",A1,SEARCH(" back:",A1)+1)-SEARCH(" back:",A1)-6))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    04-25-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: extract text from cell

    Worked a treat, your a genius cheers!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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