I am looking to flag duplicates but only if they are duplicates from different data sources. In the example below, there are duplicate values in Dataset 1 (50) and duplicate values in dataset 2 (45) that I don't want. The duplicates I care about would be the 40 that appears in dataset 1 and dataset 2. How would I set up 2 datasets to pull only the duplicated values only if they appear in the other dataset.
| Dataset 1 | Dataset 2 |
| 50 | 45 |
| 20 | 40 |
| 40 | 35 |
| 30 | 45 |
| 50 | 25 |
Thanks!