+ Reply to Thread
Results 1 to 2 of 2

extract text from cell

  1. #1
    Registered User
    Join Date
    04-23-2012
    Location
    Toronto
    MS-Off Ver
    Excel 2003
    Posts
    45

    extract text from cell

    CellA1: <BillChrg>,<2862564>,<45303V-5334 >,<6005>,<FEES><Aggregated Desc>
    Cell A2: <BillChrg>,<2866037>,<213511>,<6005>,<FEES><Aggregated Desc>
    Cell A3: <BillChrg>,<2866037>,<213511>,<6005>,<FEES><Aggregated Desc>


    Result wanted:

    45303V-5334
    213511
    213511

  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 cell

    You can also use formula for this

    in B1 and copy down

    =TRIM(MID(SUBSTITUTE(SUBSTITUTE($A1,">","<"),"<",REPT(" ",255)),255*5,255))

    Row\Col
    A
    B
    1
    <BillChrg>,<2862564>,<45303V-5334 >,<6005>,<FEES><Aggregated Desc> 45303V-5334
    2
    <BillChrg>,<2866037>,<213511>,<6005>,<FEES><Aggregated Desc> 213511
    3
    <BillChrg>,<2866037>,<213511>,<6005>,<FEES><Aggregated Desc> 213511
    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: 4
    Last Post: 08-13-2014, 11:03 PM
  2. [SOLVED] Extract Text in 2 cell
    By hkbhansali in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-03-2014, 09:32 AM
  3. [SOLVED] Extract/Copy Text from Cell, and insert that text in a new row below
    By jamesoneill in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-07-2013, 09:06 AM
  4. Replies: 12
    Last Post: 09-15-2012, 10:20 PM
  5. Replies: 3
    Last Post: 07-25-2012, 07:54 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