+ Reply to Thread
Results 1 to 6 of 6

extract text from varied string

  1. #1
    Registered User
    Join Date
    09-12-2013
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    13

    extract text from varied string

    Hi

    I have a cell with string e.g 567/one/111

    I want to only extract the text only within the /TEXT HERE/

    the string varies so it can 234567/one/12 etc so the length of character varies but the text is always between the /...../

    so answer will be one for above NOT /one/ or /one

    can you help using formula only not vba?
    Last edited by voicetec; 11-15-2013 at 12:27 PM.

  2. #2
    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 text from varied string

    Hi voicetec and welcome to the forum.

    I would suggest that you upload a sample excel file with 15-20 rows of data so we could see all the variant forms of strings.

    On the bottom of the screen press Go Advanced then click on paperclip icon and Add Files.
    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

  3. #3
    Registered User
    Join Date
    09-12-2013
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: extract text from varied string

    Quote Originally Posted by AlKey View Post
    Hi voicetec and welcome to the forum.

    I would suggest that you upload a sample excel file with 15-20 rows of data so we could see all the variant forms of strings.

    On the bottom of the screen press Go Advanced then click on paperclip icon and Add Files.
    I don't actually have all varients..just sample data which i'm going to work.

    I know the format of characters is

    1/one/366
    789/three/6754
    766/two/22

    This is all i have..i'm expecting a huge file next week withe real data that i need to sort. :-(

    can we get a formula based on the three above?

  4. #4
    Valued Forum Contributor TheCman81's Avatar
    Join Date
    11-06-2012
    Location
    Edinburgh, UK
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    346

    Re: extract text from varied string

    Hi Something like this

    TRIM(MID(SUBSTITUTE(A1,"/",REPT(" ",99)),99,99))
    Excel Guru in the making

    <----------If the question has been answered to your satisfication please click the Add Repuation star to the left

  5. #5
    Registered User
    Join Date
    09-12-2013
    Location
    london
    MS-Off Ver
    Excel 2003
    Posts
    13

    Re: extract text from varied string

    Brilliant!! it's works!!!



    SOLVED

  6. #6
    Valued Forum Contributor TheCman81's Avatar
    Join Date
    11-06-2012
    Location
    Edinburgh, UK
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    346

    Re: extract text from varied string

    Thanks for the feedback Any issues just let me know

+ 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] Find and extract text string from within another text string
    By huy_le in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-12-2013, 03:22 PM
  2. Find and extract text string from within another text string
    By huy_le in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-09-2013, 09:01 PM
  3. [SOLVED] How to Extract A Number from String if Text within the String Equals XYZ
    By tyrsfury in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-15-2012, 03:30 PM
  4. [SOLVED] extract text string when you only know the last three letters of that string
    By alison0edwards in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-12-2012, 01:20 PM
  5. Extract small string of text from larger string
    By mark_jam3s in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-23-2010, 05:36 AM

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