+ Reply to Thread
Results 1 to 4 of 4

Mid Find

  1. #1
    Registered User
    Join Date
    06-17-2010
    Location
    Singapore, Singapore
    MS-Off Ver
    Excel 2007
    Posts
    5

    Red face Mid Find

    Hi,

    I am trying to solve my problem using the Mid Find formula, but it only solves partially of the problem.

    Data#1 : id match. for id = 941942 idtype = 101[warning]<DIAGNOSTIC CODE 1000016> for id = 941942 idtype = 101[warning] with additional error text

    Data#2 : id match. for id = 11387 idtype = 101[warning]

    I was using Mid Find formula to get the id value i.e 941942 and 11387, but I got below instead

    941942 and 11387 i

    I set the formula as below:
    =MID(C514,FIND("= ",C514)+1,8)

    Hope any of you can help.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Mid Find

    What... You want extract number from a string?

    Try this:

    =LOOKUP(99^99,--("0"&MID(B8,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},B8&"0123456789")),ROW($1:$10000))))

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

    Re: Mid Find

    In terms of MID etc... based on your strings:

    =TRIM(REPLACE(LEFT(C514,SEARCH("idtype",C514&"idtype")-1),1,SEARCH("=",C514&"="),""))

  4. #4
    Registered User
    Join Date
    06-17-2010
    Location
    Singapore, Singapore
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Mid Find

    Thanks so much!!

+ 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