+ Reply to Thread
Results 1 to 2 of 2

Find matches between lists

  1. #1
    Registered User
    Join Date
    06-14-2007
    Posts
    1

    Find matches between lists

    I have 2 lists of data, one in column A and the other in column B and neither list is any specific order. I'm looking for a way to search Column B for a match to each piece of data in Column A and then use conditional formatting to highlight the cells in Column A that did not find a match.

    Example:
    A B
    1 tree flower
    2 grass tree
    3 water dirt
    4 flower rock

    I'd like for cells A2 and A3 to use conditional formatting to say have a red background because they do no have a match in Column B. I'm OK with how to do conditional formatting, just having trouble getting the formula working within the conditional formatting rule setup.

    Thanks for your help.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Select all of Column A and go to Format|Conditional Formatting

    Select Formula Is from 1st drop down menu and enter formula: =AND(ISNA(MATCH(A1,B:B,0)),A1<>"")

    Click Format and go to Pattern tab to select background colour.

    Click Ok.

    Click Ok to finish.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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