Hi all,
Was wondering if there was a way of comparing two columns against a single reference column?
For example
I have a Working File that contains names across two columns (Name, Other Name - for example maiden name changes)
| Working File (Initial) |
| Status | Name | Other Name | ID | UnitCode |
| Active | John Smith | John Smith | | LDA |
| Active | Sarah Jane | Sarah Robertson | | LDA |
| Complete | Paul Crow | Paul Crow | | LGHC |
| Active | Becca Torrini | Becca Torrini | | HYT |
| Pending | YT Smithson | YT Smithson | | HYT |
| Complete | Georgio Yan | Georgio Yan | | LGHC |
I would like to fuzzy match against a reference file
| Reference File (Unchanged) |
| Activity | Name | ID | UnitCode |
| Add | Smith, John A. | 01234 | LDA |
| Add | Robertson, Sarah | 768 | LDA |
| Out | Smithson, Yan T. | 00678 | HYT |
| In | Torini, Rebecca | 892 | HYT |
| Out | Yan, Georgio | 00765 | LGHC |
| Out | Crow, Paul | 00214 | LGHC |
Criteria: If either Name or Other Name from the working file matches closely to the Name in the Reference file, it will bring back a match.
Updated working file:
| Working File (Updated) |
| Status | Name | ID | UnitCode |
| Complete | Smith, John A. | 01234 | LDA |
| Complete | Robertson, Sarah | 00768 | LDA |
| Complete | Paul Crow | | LGHC |
| Complete | Torini, Rebecca | 00892 | HYT |
| Pending | YT Smithson | | HYT |
| Complete | Georgio Yan | | LGHC |
I was looking for a way to just tweak @ArtApa brilliant solution to the below of:
1. bringing back the Name from the reference file
2. stamping the ID to the Working file
3. Marking Status as Complete.
Solved: Re: Lookup using fuzzy logic to stamp data from re... - Alteryx Community
The only change is to match across two columns instead of just 1.
Thank you!