+ Reply to Thread
Results 1 to 4 of 4

Extract texts from cell using SUBSTITUTE, RIGHT, LEFT, or MID FUNCTION

  1. #1
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Extract texts from cell using SUBSTITUTE, RIGHT, LEFT, or MID FUNCTION

    Looking for formula to extract texts from cell. See sample file. Thanks.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,164

    Re: Extract texts from cell using SUBSTITUTE, RIGHT, LEFT, or MID FUNCTION

    Hey BJ,

    On the Data Tab use Text to Columns and make the delimiter a "-" character.

    Done!
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: Extract texts from cell using SUBSTITUTE, RIGHT, LEFT, or MID FUNCTION

    Please try at B2
    =TRIM(MID(SUBSTITUTE($A2," -",REPT(" ",99)),COLUMNS($B2:B2)*99-98,99))

  4. #4
    Forum Contributor
    Join Date
    02-06-2013
    Location
    Maryland
    MS-Off Ver
    Excel 2010
    Posts
    1,000

    Re: Extract texts from cell using SUBSTITUTE, RIGHT, LEFT, or MID FUNCTION

    Bo_Ry: Excellent solution. Simply the best! Thanks

+ 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. Extract texts from cell using RIGHT or LEFT FUNCTION
    By bjnockle in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-10-2020, 09:48 AM
  2. [SOLVED] Extract texts from cell using RIGHT, LEFT OR MID FUNCTION
    By bjnockle in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-01-2020, 01:31 AM
  3. [SOLVED] Extract texts from cell to multiple cells?
    By GPMan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-28-2018, 04:40 AM
  4. [SOLVED] How to replace or substitute function formulas but left the cell reference intact?
    By Franky alta in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 05-02-2016, 12:48 AM
  5. [SOLVED] Formula to extract row / right last texts for given texts
    By thilag in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-30-2015, 02:51 AM
  6. [SOLVED] To extract texts from a cell
    By Dewdrop in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-25-2014, 10:26 AM
  7. sumif function when left 4 texts are matching
    By Vikram Dhemare in forum Excel General
    Replies: 1
    Last Post: 04-25-2006, 03:30 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