+ Reply to Thread
Results 1 to 4 of 4

Need to find duplicates across three columns

  1. #1
    Registered User
    Join Date
    12-05-2012
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Question Need to find duplicates across three columns

    Hi there,

    I have three columns of data. My need is to find the data that matches across all three columns (regardless of row number) and have it highlight. I have been able to get my macro to work comparing the data in two of the three columns, but when I add the thrird it, it will run but not return any results.

    Here is what I have:

    Please Login or Register  to view this content.
    I have searched for a solution everywhere I can think of for a month and have had little in the way of helpful results. Any help you can provide would be greatly appreciated.

    Thank you!

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Need to find duplicates across three columns

    If I understand correctly what you want to do, try this...
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    12-05-2012
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Need to find duplicates across three columns

    Thanks for the help AlphaFrog, however that didn't quite do what I need. I tried your solution, and it looks like it matched two of the columns data and turned them green instead of doing a three way match.

    I only want the cells to turn green if the same value is found in all three columns.

  4. #4
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Need to find duplicates across three columns

    Quote Originally Posted by lost&found View Post
    Thanks for the help AlphaFrog, however that didn't quite do what I need. I tried your solution, and it looks like it matched two of the columns data and turned them green instead of doing a three way match.

    I only want the cells to turn green if the same value is found in all three columns.
    So you want to find triplicates across three columns.

    Change the three Ors to Ands
    Please Login or Register  to view this content.
    Last edited by AlphaFrog; 12-06-2012 at 04:51 PM.

  5. #5
    Registered User
    Join Date
    12-05-2012
    Location
    San Diego, CA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Need to find duplicates across three columns

    Correct, sorry my wording was off. I should have caught that, no wonder I couldn't find a solution .

    Your suggestion worked perfect. Thank you so much for all your help. I ran the code and it does exactly what I need it to do!

    Thank you again!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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