+ Reply to Thread
Results 1 to 2 of 2

Comparing Two Columns, Excel Not Working

  1. #1
    Registered User
    Join Date
    06-01-2010
    Location
    Calgary
    MS-Off Ver
    Excel 2007
    Posts
    2

    Comparing Two Columns, Excel Not Working

    Hello,

    (Using Excel 2007)
    Ive cross posted this forum, at this location, just to get the extra help.
    http://www.mrexcel.com/forum/showthread.php?t=471883


    Ive checked many websites for a solution to this, and everything Ive tried has failed.

    I have a list of numbers in Column A, another list of numbers in Column B,

    Im trying to find a formula or a VBA code that will take the numbers in Column A, Compare them to column B, and if a number in column A, appears somewhere in column B, I want the number in both column A, and B to be highlighted.

    Example:
    A | B
    45 46
    47 45
    48 52

    So for instance in this example, only the number 45 would be highlighted, because it appears in both columns.

    I tried using the tool in Excel, > Conditional Formatting > Highlight Duplicates...but it seems that feature only works for comparing data in one column, I cant get that feature to look at two columns. Any help would be great. Thanks!

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: Comparing Two Columns, Excel Not Working

    It seems you were given this solution over at MrExcel by shift-del, but you failed to realize it.
    Attached Files Attached Files
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

+ 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