+ Reply to Thread
Results 1 to 2 of 2

Thread: Compare columns and return mising items

  1. #1
    Registered User
    Join Date
    03-01-2010
    Location
    new york, usa
    MS-Off Ver
    Excel 2003
    Posts
    37

    Compare columns and return mising items

    i looked through the solved threads already and found similar requests but not entirely what I am seeking.

    compare 2 columns A and B and report in C items from A that are missing in B.
    A is like a control column containing master data. items can be numbers or words or alphanumeric data.


    note: it is possible that column B might have multiple listings of the same item. In that case I do no want the second item reported as missing as I saw in one solved worksheet.

    example

    A has the following
    birds
    123
    fish
    777
    seas
    115

    and B has the following
    123
    seas
    123
    115
    777
    fish


    column C would report
    birds

    the 2nd occurrence of 123 in B is not reported as missing because once it occurs in A it's a hit.

  2. #2
    Forum Moderator Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    5,953

    Re: Compare columns and return mising items

    Hi Sweetypie,

    In column C you could use:

    =IF(ISNUMBER(MATCH(A1,B:B,0)),"",A1)

    Fill that down as many rows as you have in column A. This will create a list of values in column A that aren't matched in column B. You can then copy column C and use pastespecial on top of itself to convert those formulas to values, then sort column C to remove the blanks.

    Hope that helps!

+ 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.2.0