+ Reply to Thread
Results 1 to 8 of 8

Extract Variable Length Text String

Hybrid View

  1. #1
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,213

    Re: Extract Variable Length Text String

    Maybe:

    =TRIM(SUBSTITUTE(SUBSTITUTE(LEFT(SUBSTITUTE(MID(C1,FIND("-",C1),LEN(C1)),"-",""),FIND("/",SUBSTITUTE(MID(C1,FIND("-",C1),LEN(C1)),"-",""))-3),CHAR(10),""),CHAR(13),""))


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  2. #2
    Registered User
    Join Date
    10-30-2012
    Location
    Crandall, Texas
    MS-Off Ver
    Excel 2007
    Posts
    15

    Re: Extract Variable Length Text String

    Justin, this did bring back the SiteName and the date. I could then do a LEFT function in the next column and extract it that way!

    TMS, looks like the Trim formula did the trick! It brought back only the SiteName.

    WOW, I would have never figured that out. Thank you both for your quick replies!

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,213

    Re: Extract Variable Length Text String

    You're welcome.


    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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