Quick lookup check

Ryan1996

Board Regular
Joined
Jun 4, 2018
Messages
55
What's the easiest way of me checking multiple columns between 2 worksheets?

I have two documents, both having the same columns such as:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]ACTION TYPE[/TD]
[TD]TIER 1[/TD]
[TD]TIER2[/TD]
[TD]TIER3[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Reporting[/TD]
[TD]GROUP1[/TD]
[TD][/TD]
[TD]GROUP4[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Manager[/TD]
[TD][/TD]
[TD]GROUP2[/TD]
[TD]GROUP4[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Access management[/TD]
[TD]GROUP1[/TD]
[TD]GROUP3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]so on[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]so on[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

And then my other workbook/sheet would be like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[/TR]
[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]ACTION TYPE[/TD]
[TD]TIER 1[/TD]
[TD]TIER2[/TD]
[TD]TIER3[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Reporting[/TD]
[TD][/TD]
[TD]GROUP3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Manager[/TD]
[TD]GROUP1[/TD]
[TD]GROUP3[/TD]
[TD]GROUP3[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Access management[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]so on[/TD]
[TD][/TD]
[TD]GROUP2[/TD]
[TD]GROUP4[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]so on[/TD]
[TD]GROUP2[/TD]
[TD][/TD]
[TD]GROUP4[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

So the data could be different. I need to know what has changed so for example:
Is "Reporting" still Tier1=GROUP1, Tier2=Blank, Tier3=Group4 or has it changed and if it has changed what is it now?
Please note that between sheets the ACTION TYPE could be in a different row so for example instead of manager being in row 3 it could be in row 100. The check needs to be able to check all the rows for each type and then determine if the tiers have changed between sheets/doc.

We can just say the columns are as above in both sheets - A B C D. And sheets are names Sheet1 and Sheet2 or OLD DATA and NEW DATA.

Thanks guys!
 
Last edited:

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,222,749
Messages
6,167,967
Members
452,158
Latest member
MattyM

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top