+ Reply to Thread
Results 1 to 3 of 3

Extract Specific Text from cell

  1. #1
    Forum Contributor
    Join Date
    06-24-2013
    Location
    United Kingdom
    MS-Off Ver
    Office 365
    Posts
    114

    Extract Specific Text from cell

    Hi Everyone

    Have a cell with this in it

    166.9 x 231.9 x 28.2mm | 716.68g

    Have managed to extract 166.9 and 716.68g from it but need 231.9 and 28.2 extracted.

    Used

    =LEFT(F41,(FIND(" x ",F41,1)-1))

    and

    =MID(F41,FIND(" |",F41)+3,256)

    Any suggestions please for the other two.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Extract Specific Text from cell

    Try this to extract all sections, assuming each secition is separated by either an x or |, and the original string lenth is less than 255 charactgers

    A1 contains original string
    in B1 and filled right as far as needed.
    =TRIM(MID(SUBSTITUTE(SUBSTITUTE($A1," x ",REPT(" ",255))," | ",REPT(" ",255)),(COLUMNS($A:A)-1)*255+1,255))

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Extract Specific Text from cell

    Try this
    enter in B1 and copy across
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B C D E
    1 166.9 x 231.9 x 28.2mm | 716.68g 166.9 231.9 28.2 716.68
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

+ 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. Replies: 1
    Last Post: 07-24-2017, 06:41 AM
  2. How to extract specific text from a cell using an advanced formula
    By fozuk1609 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-20-2016, 08:25 AM
  3. Need to Extract specific text from Cell
    By Onek2fok in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-29-2015, 03:02 PM
  4. Find specific text from cell and extract the data from the same row
    By roybong in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-10-2014, 09:57 AM
  5. extract numbers from a cell, before a specific text
    By xlepws in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 01-11-2013, 01:46 PM
  6. Extract specific text from a cell
    By Offeror in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-09-2011, 05:07 AM
  7. Extract specific text in Cell A1 and display in A2
    By Dave32 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-22-2008, 08:27 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