Compare Unique ID in two tables and insert unmatched rows in secondary table

Kiss the Krogan

New Member
Joined
Sep 19, 2019
Messages
2
Hi everyone,

Long time reader, first time poster.

I have a Power Query (Main Verification Query) which collects data from a dozen spreadsheets, appends them into a table (TBL_Main_Append_Query), and each record has a unique ID. Unfortunately, the Unique iD is specific to each original spreadsheet, and does not run consecutively.

I have a second table (TBL_Verification) which has a data validation list looking-up the unique ID. This is where the data is validated by agents and comments are added in the Verification table. I have created a relationship between the two tables so I can query them together later.

When the query is refreshed, the data no longer aligns between the two tables (no surprises there). I need a code that compares the Unique IDs and inserts rows in the 2nd table so the two tables align the data based on the IDs.

Short of Power BI, I have reconfigured this numerous ways but can't seem to get it to do what I need. I think VBA is the only way for me to go, unless someone has a brilliant insight that I have missed!

If anyone can help, it would be greatly appreciated.

Thank you

KtK
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.

Forum statistics

Threads
1,224,916
Messages
6,181,727
Members
453,064
Latest member
robatthe2A

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