+ Reply to Thread
Results 1 to 9 of 9

Highlighting Non-duplicate rows across two tables of data

  1. #1
    Forum Contributor
    Join Date
    11-26-2008
    Location
    UK
    MS-Off Ver
    Using Excel 2019
    Posts
    317

    Highlighting Non-duplicate rows across two tables of data

    Hi,

    I have two tables with data in them in A1:D20 and F1:I20
    These two tables will mostly contain the same information, but each month data from D1:D20 will change either in the form of one cell or maybe entire row(s) being added or deleted.

    Im looking therefore to compare each row in F1:I20 with all the rows in A1:D20 and if they either contain amended data or entirely new row(s) colour them red. I can do this comparing two columns, but when it comes to a range of cells Im struggling and my google skills dont seem ot be working.

    Any help appreciated.
    Last edited by Barking_Mad; 12-05-2012 at 08:23 AM. Reason: That should have read F10:I20 not F1:F20!

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Highlighting Non-duplicate rows across two tables of data

    In Conditional formmating rules in range F1:F20,PUT THIS FORMULA.

    =COUNTIF($A$1:$D$10,$F1)=0
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Contributor
    Join Date
    11-26-2008
    Location
    UK
    MS-Off Ver
    Using Excel 2019
    Posts
    317

    Re: Highlighting Non-duplicate rows across two tables of data

    Sorry, see amendment, it should have been F1:I20 not F1:F20

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Highlighting Non-duplicate rows across two tables of data

    So for eatch column a separate Cf.

    As you did for F you do for G and so on..

    =COUNTIF($A$1:$D$10,$g1)=0

  5. #5
    Forum Contributor
    Join Date
    11-26-2008
    Location
    UK
    MS-Off Ver
    Using Excel 2019
    Posts
    317

    Re: Highlighting Non-duplicate rows across two tables of data

    Hi,

    Im not sure this is working, or maybe it's me. Please see the attached where the highligted cells are the ones that should show up as such because data in the end column in the he 2nd table is different from the data in the end column of the 1st table.

    Note when a new record appears on the list the position of students between the rows in table A and table 4 are no longer adjacent (7 BREEN, Tony). Im guessing an array would be used to compare information, but I dont know how
    Attached Files Attached Files

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Highlighting Non-duplicate rows across two tables of data

    Take a look to the example,pls. Is this take care your needs?
    Attached Files Attached Files

  7. #7
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Highlighting Non-duplicate rows across two tables of data

    Conditional Formatting:

    =COUNTIFS($A$2:$A$12,$F2,$B$2:$B$12,$G2,$C$2:$C$12,$H2,$D$2:$D$12,$I2)=0

  8. #8
    Forum Contributor
    Join Date
    11-26-2008
    Location
    UK
    MS-Off Ver
    Using Excel 2019
    Posts
    317

    Re: Highlighting Non-duplicate rows across two tables of data

    Thanks to both of you, works well

  9. #9
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Highlighting Non-duplicate rows across two tables of data

    You are welcome!

    Thanks for the reb*

+ 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