Cross-reference data check

Anonymous
2022-02-23T13:59:35+00:00

Hello,

I'm trying to cross-reference check the data from two separate tables to see what is missing and which data does not match.

Currently, I managed to check the differences between two File columns using =IF(ISERROR(MATCH(A2;$F$2:$F$31;0));"MISSING: "&A2;A2) formula, however I am having problems with the data that goes along with the item in question. The formula used above finds values from the range that matches the origin, but in this case I need it to take the data from specific files, e.i. use and check V01-B12-HU06 data from both lists.

Any help in solving this is appreciated.

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Anonymous
    2022-02-23T22:50:13+00:00

    What I like to do is make a copy of the first table, with an extra column filled with and identifier: "First Table" works well. Then I copy the second table beneath the first table, and fill the extra column with "Second Table".

    Then the magic: use Data / Remove duplicates, unchecking the extra column. Then all the entries in the Second Table section that are unchanged will be removed, and only the changed data will remain (in the rows marked "Second Table")

    Then do the reverse - second table on top - and the rows that remain in the "First Table" section were either changed or removed from the Second Table.

    OR - use a formula like

    =IF(COUNTIFS(F:F;A2;G:G;B2;H:H;C2;I:I;D2)=0;"CHANGED or MISSING: "&A2 &" "& B2 &" "& C2 &" "& D2;A2 &" "& B2 &" "& C2 &" "& D2)

    1 person found this answer helpful.
    0 comments No comments

11 additional answers

Sort by: Most helpful
  1. Anonymous
    2022-02-25T17:20:26+00:00
    0 comments No comments
  2. Anonymous
    2022-02-25T18:32:05+00:00

    Oops - change the formula to

    =IF(ISERROR(MATCH($A2;$F:$F;FALSE));"";IF(COUNTIFS($F:$F;$A2;G:G;B2)=0;B2 & " - " & VLOOKUP($A2;$F:$I;COLUMN(B2);False);B2))

    0 comments No comments
  3. Ashish Mathur 100.8K Reputation points Volunteer Moderator
    2022-02-25T23:49:44+00:00

    Hi,

    Refer to the Merge1 worksheet. You may download the solution workbook from here.

    Hope this helps.

    0 comments No comments