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. Ashish Mathur 100.8K Reputation points Volunteer Moderator
    2022-02-24T01:59:09+00:00

    Hi,

    Your question is not clear. Please show the expected result very clearly.

    0 comments No comments
  2. Anonymous
    2022-02-24T04:45:47+00:00

    Excel 365 Pro Plus with Power Query.

    Check for missing and mismatch.

    No formulas, no VBA macro.

    https://www.mediafire.com/file/zh7tk709qxrnopm/02_23_22a.xlsx/file

    https://www.mediafire.com/file/le3i42e53dhvq1p/02_23_22a.pdf/file

    0 comments No comments
  3. Anonymous
    2022-02-24T14:41:34+00:00

    Thanks a lot, Bernie, the formula did the job for me for the most part.
    For a "complete" solution I'd still like to see both values which are different (for visual comparison) from both tables when they are reorganized with the formula, For example.:

    T.R.

    0 comments No comments
  4. Anonymous
    2022-02-24T14:55:23+00:00

    Sorry if my expected results weren't clear, to put it simply:

    1. Check which row is missing in the second table compared to the first;
    2. Check if the data provided in the same row of both tables are the same;
    3. Output the results in another table to visually see the results.

    As shown in picture:

    Best,
    T.R.

    0 comments No comments