+ Reply to Thread
Results 1 to 3 of 3

Find String

  1. #1
    Registered User
    Join Date
    06-25-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    16

    Find String

    Hi,

    I would like to get the area marked in red for each item. How can I get that?

    [998][6/29/2010 00:11:54:143]-INFO-[ThreadId = 6348
    [999][6/29/2010 00:11:54:143]-INFO-[ThreadId = 6348
    [1000][6/29/2010 00:11:54:143]-INFO-[ThreadId = 6348
    [1001][6/29/2010 00:11:54:143]-INFO-[ThreadId = 6348

    Thanks!

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Find String

    If the strings are in A1:A4 then

    B1: =REPLACE(LEFT(A1,FIND("-",A1&"-")-1),1,FIND("]",A1&"]"),"")
    copied down to B4

  3. #3
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Find String

    Try

    =MID(A1,FIND("[",A1,2)+1,FIND("-",A1)-FIND("[",A1,2)-2)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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