Find missing asset numbers in Excel

Blue-I 0 Reputation points
2025-12-09T10:04:53.6566667+00:00

Hi, I am looking for a simple formula in Excel, to match up a column of numbers, along with another column showing a description, with another workbook of numbers.

Basically, I need to filter out any missing numbers from the first workbook that cannot be found in the second workbook. The results need to show both the number and it's description. See screenshot attached.

Thanks.

User's image

Microsoft 365 and Office | Excel | For business | Windows
{count} votes

2 answers

Sort by: Most helpful
  1. Marcin Policht 69,125 Reputation points MVP Volunteer Moderator
    2025-12-09T12:13:55.6533333+00:00

    You can return only the asset IDs that do not exist in the other workbook by using a formula that checks for absence with COUNTIF. Then you can pull the description alongside it.

    In your first workbook, assuming:

    Asset IDs are in A2:A1000

    Descriptions are in B2:B1000

    The second workbook is named OtherFile.xlsx and its list of numbers is in Sheet1!A:A

    Use this formula to flag missing items:

    =IF(COUNTIF([OtherFile.xlsx]Sheet1!A:A, A2)=0, A2, "")
    

    Next to it, return the matching description:

    =IF(COUNTIF([OtherFile.xlsx]Sheet1!A:A, A2)=0, B2, "")
    

    Filtering these two columns will show only the IDs and descriptions not found in the second workbook.


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

  2. Barry Schwarz 4,871 Reputation points
    2025-12-09T15:57:54.37+00:00

    You have one worksheet with the IDs of interest. A second worksheet has IDs and descriptions for many but not all possible IDs. You want to build a worksheet containing the IDs and descriptions for those IDs in the first and the second.

    =FILTER(Sheet2!A1:B7,NOT(ISERROR(MATCH(Sheet2!A1:A7,Sheet1!A1:A8,0))))
    

    Change the ranges (A7 and B7) to match the set of descriptions and (A8) to match the number of IDs of interest.

    The MATCH function determines if the ID with a description is one of interest.

    The ISERROR function traps the situation where it is not.

    The NOT function lets the filter include only the ones that are of interest,

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.