+ Reply to Thread
Results 1 to 4 of 4

Compare two columns to see what is missing from one of them

  1. #1
    Registered User
    Join Date
    06-24-2010
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Compare two columns to see what is missing from one of them

    Hi, I'm working on traceability to make sure that we are testing all of the items we need to for a given project. We have identified a unique list of some 2000 items that have to be tested. As we have created test documentation we have recorded all of the items are covered in those tests to date.

    I need to be able to compare column A (full list of 2000 items) with column B (items that are covered with tests), and see which items from column A have not had tests written for them yet. I'm assuming there's an easy way to do this via a formula in Excel, but can't seem to figur it out. Could anyone help me with this?

    Thanks!

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

    Re: Compare two columns to see what is missing from one of them

    Try =COUNTIF(B:B, A1)

    If result is 0 then that item is missing

  3. #3
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Compare two columns to see what is missing from one of them

    Hi Emilk,

    Assuming full list is in A1:A2000, and test list in B1:B500, in C1 use the formula:

    =ISNUMBER(MATCH(A1,$B$1:$B$500,0))

    Fill that down to C1000. Any cell in column C that has FALSE means the corresponding value from column A is missing from column B.

    Or, rather than a bunch of TRUE/FALSE responses, to just show where missing values occur, in C1 use:

    =IF(ISERROR(MATCH(A1,$B$1:$B$5,0)),"Missing","")

    Fill down to C1000.

  4. #4
    Registered User
    Join Date
    06-24-2010
    Location
    Seattle, WA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Compare two columns to see what is missing from one of them

    Thanks, that worked!

+ 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