+ Reply to Thread
Results 1 to 4 of 4

Highlight cells that are duplicate pairs

  1. #1
    Registered User
    Join Date
    01-21-2015
    Location
    augusta ga
    MS-Off Ver
    2010
    Posts
    2

    Highlight cells that are duplicate pairs

    Hi, I'm trying to get Excel 2010 to highlight duplicate matching pairs in two columns. See attached. Basically, I have column A with a box number and column B with a lot number. Any duplicates of the same box number paired with the same lot number need to be highlighted, but the same lot number can be paired with a different box number and vice versa. I've tried using this formula =SUMPRODUCT((CONCATENATE($A$6:$A$100,"^",$B$6:$B$100)=CONCATENATE(B6,"^",A6))*1)>0 but I can't seem to get it to work correctly. Thanks for any help!
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Highlight cells that are duplicate pairs

    =COUNTIFS($A:$A,$A6,$B:$B,$B6)>1
    Try this in conditional format formula
    Attached Files Attached Files
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    01-21-2015
    Location
    augusta ga
    MS-Off Ver
    2010
    Posts
    2

    Re: Highlight cells that are duplicate pairs

    Thank you! That worked perfectly!

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Highlight cells that are duplicate pairs

    you are welcome

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 10
    Last Post: 01-05-2011, 03:26 AM
  2. Excel 2007 : Highlight matching pairs-Excel 2007
    By Rob44 in forum Excel General
    Replies: 11
    Last Post: 12-26-2010, 07:58 PM
  3. Highlight cells if duplicate found on the same row
    By martinez_pedro in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-23-2010, 04:24 AM
  4. Highlight Visible Duplicate Cells
    By realniceguy5000 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-05-2010, 10:20 AM
  5. Highlight duplicate cells in next column...
    By ImpetuousRacer in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-25-2008, 03:24 PM

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