+ Reply to Thread
Results 1 to 6 of 6

Highlighting duplicates between 2 ranges

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    07-28-2005
    Posts
    132

    Highlighting duplicates between 2 ranges

    Hi

    I have numerical information in 2 lots of 3 columns eg a1:c10 and e1:g10 and I need to highlight if the information is in the same order in both ranges. example if A1=1 B1=7 C1=5 and e1=1 f1=7 g1=5 I would need that highlighting, it doesent matter if the rows are different ie A1=1 B1=7 c1=5 and e5=1 f5=7 g5=5 that would still be classed as a duplicate and need highlighting. Its the order of the information rather than the rows which is important to me. I used conditional formatting to find duplicates but can only get it to work on single columns can you please advise how I can extend that to a range.

    Many thanks

    Nigel

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Highlighting duplicates between 2 ranges

    Pl see attached file.
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Highlighting duplicates between 2 ranges

    One other thought ....
    If A2:C2 contains your reference set of data to be compared with E2:G10 (say)
    Select E2:G10, then apply CF using the formula: =SUMPRODUCT(($E2:$G2/$A$2:$C$2))=3
    Format to suit > ok
    -------------------------
    Any good? Wave it, hit the little star at the bottom left of my response

  4. #4
    Forum Contributor
    Join Date
    07-28-2005
    Posts
    132

    Re: Highlighting duplicates between 2 ranges

    Hi and sorry for the delay in responding to your kind advice, just to clarify I have attached a mock up of the type of thing I need. The information in range C3..E7 is compared with range G3..I7 In my example D4 does not match with H5 so both corresponding rows in the ranges are highlighted.
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    07-28-2005
    Posts
    132

    Re:[Solved] Highlighting duplicates between 2 ranges

    Managed to find this type of formula which when adjusted to cover the actual range addresses seems to work. Thanks anyway.

    "=COUNTIFS($A$9:$A$13,A2,$B$9:$B$13, B2, $C$9:$C$13,C2)"

  6. #6
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Highlighting duplicates between 2 ranges

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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: 6
    Last Post: 02-16-2013, 07:29 AM
  2. Highlighting every other set of duplicates
    By IUgrad04 in forum Excel General
    Replies: 3
    Last Post: 12-27-2011, 08:08 AM
  3. [SOLVED] highlighting duplicates
    By alex in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-01-2006, 01:45 PM
  4. highlighting duplicates
    By Lynn in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-11-2005, 11:05 AM
  5. [SOLVED] Help with Highlighting all duplicates in a row
    By Jimv in forum Excel General
    Replies: 4
    Last Post: 04-21-2005, 03:06 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