+ Reply to Thread
Results 1 to 5 of 5

Help with a formula for extracting a string

  1. #1
    Registered User
    Join Date
    06-22-2015
    Location
    milano
    MS-Off Ver
    2010
    Posts
    30

    Help with a formula for extracting a string

    Hello everyone im finding myself with cells with this king of information:

    <link platform="gurupa" type="browse-id" value="4933198031">Ice Cream and Cream</link>

    I would like to extract from this string, in a different cell only "Ice Cream and Cream" any help on how can I achieve this?

    Atacch you can file my worksheets on H15 where this formula should tell me "Ice Cream and Cream"

    Template 1.xlsx

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,594

    Re: Help with a formula for extracting a string

    Update of Template 1.xlsx

    Hope this helps.

  3. #3
    Registered User
    Join Date
    06-22-2015
    Location
    milano
    MS-Off Ver
    2010
    Posts
    30

    Re: Help with a formula for extracting a string

    Quote Originally Posted by JeteMc View Post
    Attachment 403988

    Hope this helps.
    This works perfectly, thanks!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,945

    Re: Help with a formula for extracting a string

    Looks like you want to do more than just extract that text, but this will do that part for you...
    =MID(A15,SEARCH(">",A15,1)+1,FIND("<",MID(A15,SEARCH(">",A15,1)+1,99),1)-1)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    06-22-2015
    Location
    milano
    MS-Off Ver
    2010
    Posts
    30

    Re: Help with a formula for extracting a string

    Quote Originally Posted by FDibbins View Post
    Looks like you want to do more than just extract that text, but this will do that part for you...
    =MID(A15,SEARCH(">",A15,1)+1,FIND("<",MID(A15,SEARCH(">",A15,1)+1,99),1)-1)
    Thanks this way did work too!!!

+ 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. extracting value from the string
    By ks1102 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-23-2014, 11:45 PM
  2. [SOLVED] Extracting from a string
    By DavidNO in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-24-2013, 05:34 AM
  3. Replies: 12
    Last Post: 03-20-2013, 05:46 PM
  4. Extracting String Using Formula
    By crazysniper in forum Excel General
    Replies: 6
    Last Post: 01-06-2012, 09:10 AM
  5. Extracting a string
    By Peter Rooney in forum Excel General
    Replies: 5
    Last Post: 06-20-2006, 01:40 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