+ Reply to Thread
Results 1 to 8 of 8

extract id numbers from partial text

  1. #1
    Registered User
    Join Date
    11-22-2018
    Location
    hyderabad
    MS-Off Ver
    2010
    Posts
    57

    extract id numbers from partial text

    Hai, to excel experts

    here i am attaching the file where we can extract id numbers from partial text and if found it has to show "id number mentioned", if it is wrong then have to mention "id is wrong", else mention id number not found
    Attached Files Attached Files

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: extract id numbers from partial text

    Not clear. For last 3 entries, where the id should be mentioned is wrong, no ID saw.
    Click the * to say thanks.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: extract id numbers from partial text

    Beepetark. Please check your example. It does not make sense!!
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Registered User
    Join Date
    11-22-2018
    Location
    hyderabad
    MS-Off Ver
    2010
    Posts
    57

    Re: extract id numbers from partial text

    i am attaching another file here please help me
    if you find full id number then id is correct, if the id number is not full mentioned then incorrect id
    and if id number is not found then no id found
    Attached Files Attached Files

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,063

    Re: extract id numbers from partial text

    There is BOUND to be a better way!!!

    =IF(EXACT(-LOOKUP(1,-RIGHT(TRIM(LEFT(A2,FIND(")",A2)-1)),{1,2,3,4,5,6,7,8,9})),B2),"ID Mentioned",IF(ISNUMBER(SEARCH(-LOOKUP(1,-RIGHT(TRIM(LEFT(A2,FIND(")",A2)-1)),{1,2,3,4,5,6,7,8,9})),B2)),"Incorrect ID",IF(ISNUMBER(SEARCH(B2,-LOOKUP(1,-RIGHT(TRIM(LEFT(A2,FIND(")",A2)-1)),{1,2,3,4,5,6,7,8,9})))),"Incorrect ID","ID Missing")))
    Attached Files Attached Files

  6. #6
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: extract id numbers from partial text

    One way:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    10-30-2003
    Location
    Singapore
    MS-Off Ver
    Excel 2019
    Posts
    197

    Re: extract id numbers from partial text

    Another option,

    =IF(LOOKUP(9^9,-RIGHT(A2,ROW($1:$9)))=B2,"ID Mentioned",IF(OR(1-ISERR(FIND(LOOKUP(9^9,-RIGHT(A2,ROW($1:$9))),B2)),1-ISERR(FIND(B2,LOOKUP(9^9,-RIGHT(A2,ROW($1:$9)))))),"Incorrect ID","ID Missing"))

    Regards
    Bosco

  8. #8
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: extract id numbers from partial text

    Another one
    C2
    =IFERROR(IF(LOOKUP(9^9,-RIGHT(A2,ROW(A$4:A$9)))=B2,"ID Mentioned","Incorrect ID"),"ID Missing")

+ 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. partial text extract data in another column
    By beepetark in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-21-2019, 06:33 AM
  2. [SOLVED] Extract the text and numbers basis on specific numbers included
    By Neilesh Kumar in forum Excel General
    Replies: 6
    Last Post: 08-26-2018, 01:34 PM
  3. Replies: 0
    Last Post: 08-17-2017, 11:26 AM
  4. [SOLVED] Extract partial text from cell
    By triaji in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-04-2017, 11:30 PM
  5. [SOLVED] Help to extract partial text from a cell
    By doublew in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-12-2014, 02:00 PM
  6. [SOLVED] Find Partial text in an array and extract charaters to right
    By jenita.kurlawala in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 12-02-2013, 08:03 AM
  7. [SOLVED] formula to extract partial content (text) of cell
    By milano in forum Excel General
    Replies: 3
    Last Post: 11-09-2005, 01:00 PM

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