+ Reply to Thread
Results 1 to 4 of 4

Find missing number and name

Hybrid View

  1. #1
    Valued Forum Contributor tek9step's Avatar
    Join Date
    05-27-2009
    Location
    London, England
    MS-Off Ver
    MS 365
    Posts
    395

    Find missing number and name

    Please help me find the missing number and name assigned to the number for data from sheet 2 (attached example). It might have been easier to do a Vlookup, but the data cells' numbers are separated by "|" which cant be changed. I might need a complex formula or vba formula which i am happy to work with. Thank you
    Attached Files Attached Files
    dont play hard just play right !!!

  2. #2
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,910

    Re: Find missing number and name

    Clean all expected result.

    B2
    =LET(
      a,FILTER(A2:A1000,A2:A1000<>""),
      b,Sheet2!A1:A1000,
      c,Sheet2!B1:B1000,
      d, MAP(a,LAMBDA(x,IF(SUMPRODUCT(--ISNUMBER(SEARCH(x,b&"")))>0,"","Missing"))),
      e, MAP(a,LAMBDA(x,IFERROR(INDEX(c,1/(1/(MAX(--ISNUMBER(SEARCH(x,b&""))*ROW(b)))))&"",""))),
      HSTACK(d,e)
    )
    Attached Files Attached Files

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

    Re: Find missing number and name

    If all numbers are 4 digit

    =LET(v,VLOOKUP("*"&A2:A165&"*",Sheet2!A4:B50&"",2,),HSTACK(IF(ISNA(v),"Missing",""),IFNA(v,"")))

    If not

    =LET(v,XLOOKUP("*|"&A2:A165&"|*","|"&Sheet2!A4:A90&"|",Sheet2!B4:B90&"",,2),HSTACK(IF(ISNA(v),"Missing",""),IFNA(v,"")))
    Attached Files Attached Files

  4. #4
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 365
    Posts
    2,406

    Re: Find missing number and name

    Another options:

    put on column C and copied down:

    =TRIM(IFERROR(LOOKUP(2^15;SEARCH(A2;Sheet2!$A$4:$A$50);Sheet2!$B$4:$B$50);""))

    in Column B and copied down:

    =IF(LEN(C2)>0;"";"Missing")
    Attached Files Attached Files

+ 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. [SOLVED] missing number find out in conservative number series
    By majidsiddique in forum Excel General
    Replies: 7
    Last Post: 05-16-2020, 12:00 AM
  2. [SOLVED] Trying to find missing number in an array
    By pravpraveen in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 08-01-2019, 03:55 AM
  3. to find last number and missing number in same sheet.
    By anuwers in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-08-2017, 02:14 PM
  4. [SOLVED] to find last number and missing number in series from various sheets
    By anuwers in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-16-2016, 04:17 AM
  5. [SOLVED] Find missing number and copy only missing number to another coloumn
    By vijaynadiad in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-20-2013, 02:01 PM
  6. Find the missing number?
    By Djanvk in forum Excel General
    Replies: 3
    Last Post: 04-26-2006, 03:15 PM
  7. [SOLVED] Find Missing Number?
    By Djanvk in forum Excel General
    Replies: 3
    Last Post: 04-17-2006, 05:55 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