+ Reply to Thread
Results 1 to 7 of 7

Compare a unique row of records against another

  1. #1
    Forum Contributor
    Join Date
    09-01-2008
    Location
    Australia
    Posts
    108

    Compare a unique row of records against another

    Hi All,
    I am trying to compare one row of records (blue) against green as the reference base, where e.g. A3 to G3 are considered as 1 unique row.
    Basically, I am trying to find out for the PN if any values has changed. Do not know what's wrong and still cannot get it correct.
    Any help would be appreciated!


    Regards,
    Nironto
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    05-13-2010
    Location
    Belo Horizonte, Brazil
    MS-Off Ver
    Excel 2003; 2007
    Posts
    441

    Re: Compare a unique row of records against another

    nironto, Good evening.

    Using Excel allways you have a lot of different ways to do something.

    My suggestion:

    Q3 -->
    =IF(CONCATENATE(A3,B3,C3,D3,E3,F3,G3)=CONCATENATE(I3,J3,K3,L3,M3,N3,O3),"MATCH","MISMATCH")

    02-10-2015_Book1-OK.xlsx

    Is that what you're looking for?
    I hope it helps.
    ...If my answer helped you, Please, click on. * Add Reputation (at left)

    Best regards.
    Marc?lio Lob?o

  3. #3
    Forum Contributor
    Join Date
    09-01-2008
    Location
    Australia
    Posts
    108

    Re: Compare a unique row of records against another

    Thanks Marcílio Lobão!
    It's getting close. But I need to compare against the whole reference list from row 3 to 43 if the record exists.
    I tried below, but does not work.

    =IF(CONCATENATE(A3,B3,C3,D3,E3,F3,G3)=CONCATENATE(I3,J3,K3,L3,M3,N3,O3: I43,J43,K43,L43,M43,N43,O43),"MATCH","MISMATCH")

    Best Regards!

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Compare a unique row of records against another

    If you array-enter this formula does it do what you want?

    =IFERROR(IF(MATCH(A3&B3&C3&D3&E3&F3&G3,$I$3:$I$43&$J$3:$J$43&$K$3:$K$43&$L$3:$L$43&$M$3:$M$43&$N$3:$N$43&$O$3:$O$43,0),"Match"),"Mismatch")

    If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Dave

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Compare a unique row of records against another

    Or try this non-array formula.

    =IF(A3="","",IF(COUNTIFS($I$3:$I$43,A3,$J$3:$J$43,B3,$K$3:$K$43,C3,$L$3:$L$43,D3,$M$3:$M$43,E3,$N$3:$N$43,F3,$O$3:$O$43,G3),"Match","Mismatch"))

  6. #6
    Forum Contributor
    Join Date
    09-01-2008
    Location
    Australia
    Posts
    108

    Re: Compare a unique row of records against another

    Thanks FlameRetired Dave!
    It works Wonders! I'll marked the thread as closed.

    Regards,
    Nironto

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Compare a unique row of records against another

    @nironto

    You are welcome. Thanks for the feedback and rep.

+ 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: 2
    Last Post: 12-04-2014, 04:59 AM
  2. Replies: 5
    Last Post: 04-30-2013, 07:42 PM
  3. [SOLVED] Comparing records to result in a list of unique records
    By greenmat in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-17-2013, 07:45 PM
  4. Unique values and Unique Records
    By rjbautista20 in forum Access Programming / VBA / Macros
    Replies: 1
    Last Post: 04-25-2012, 05:12 AM
  5. Filter unique records only: Want the last records, not the first
    By davelarue in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-11-2009, 08:51 AM
  6. unique filter results in some non-unique records.
    By Serials Librarian in forum Excel General
    Replies: 2
    Last Post: 05-26-2006, 05:10 PM
  7. [SOLVED] Unique Records
    By Jasper in forum Excel General
    Replies: 2
    Last Post: 03-09-2005, 12: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