I have a list that I need to join to another list but based on multiple different scenarios.
The first list will have three fields, Pin, TIN and Address
The second list will have the same fields but some might be blank.
For example The second list has one line with the Pin but Tin and address are blank. It has a second line that matches on Pin and Address but the TIN is blank, a third line that matches on address only and a 4th line that match on all three. On the second list, there is a column called flag. What I need to do is pull the flag into the first line but only based on the match of that line. So if there are 2 lines with different flags but only on the Pin, then I need to pull those two. If there are 3 lines with flags that match on PIN and TIN, then I need to pull those also but match on PIN and TIN, etc.
Hoping someone has some ideas.
Thanks,