Power Query to find name matches between two spreadsheets

MrSamExcel

Board Regular
Joined
Apr 6, 2016
Messages
50
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
I have two files: bios v1.2.xlsx and departures v3.4.xlsx. Can Power Query compare the most recent versions of both files saved to the same folder and produce a list of names common to both? The exact match for comparison is:
bios v1.2 -> ‘current’ tab -> “NameFirst”&” “&”NameLast” = departures v3.4 -> ‘remove’ tab -> ”First Name”&” “&“Last Name”
[note: I can do without the blank space between names if much cleaner]

The result would be a list of each entire row from bios v1.2 that contains a match, or just a list of matching [first last] names works too.
I cannot modify the files in any way; ideal solution would not require a user to open either source file.

bios 1.2.xlsx
ABCDEF
1CodeDateAdNameFirstNameMidNameLast
2ABC-1234-Y99Z3/18/2015ABCAaronAAaronson
3ABC-1234-Y200Z1/1/2000ABDARTHURBABLABAB
4ABC-1234-Y200Z1/1/2005ABEFSnowballTwo
5ABC-1234-Y99Z1/1/2010ACDCSideshowBob
current

departures v3.4.xlsx
ABCDEF
1Departures List
2IDTypeLast NameFirst NameMiddle NameDate
31234Full TimeAaronsonAaron1/1/2022
45678Full TimeHollyBuddy2/2/2023
510122Full TimeBobSideshowT3/1/2024
614566Full TimeValensRichie1/1/2022
719010Full TimeBopperBig2/2/2023
823454Full TimeBananasMrs3/1/2024
927898Full TimeGoodwyfePrudenceB1/1/2022
remove

Power Query - Example of Results .xlsx
ABCDEF
1ABC-1234-Y99Z3/15/2024ABCAaronAAaronson
2ABC-1234-Y1100Z1/1/2023ACDCSideshowBBob
PQ result
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
I am writing an if statement formula but getting an below error. what is the issue with this formula in power query?
1710774586127.png
 
Upvote 0

Forum statistics

Threads
1,215,071
Messages
6,122,964
Members
449,094
Latest member
Anshu121

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