Text string betweent two symbols

Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: Text string betweent two symbols

  1. #1
    Board Regular
    Join Date
    Sep 2003
    Location
    Houston, Texas
    Posts
    492
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Text string betweent two symbols

     
    I tried searching, but got way too many hits...

    In A1 I have the following formula: =+'[year 2003 Commis_October.xls]ema'!$A$1

    In B1, I want to extract the string between ] and ' (in this case, ema). How can I do this?

    Thanks,

    Bill

  2. #2
    MrExcel MVP Aladin Akyurek's Avatar
    Join Date
    Feb 2002
    Location
    The Hague, NL
    Posts
    81,446
    Post Thanks / Like
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Text string betweent two symbols

    Requires the morefunc.xll add-in...

    =WMID(WMID(FORMULATEXT(A1),2,1,"]"),1,1,"'")
    Assuming too much and qualifying too much are two faces of the same problem.

  3. #3
    Board Regular
    Join Date
    Sep 2003
    Location
    Houston, Texas
    Posts
    492
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Text string betweent two symbols

      
    Aladin, many thanks! This certainly saves me a lot of time!

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

 
DMCA.com