Hi all!
I have dataset 'A' lets say a list of IDs. Now I have 4 fields in my data called Primary Ap ID, Secondary Ap ID, Primary Al ID and Secondary Al ID. I want to check if all the 4 IDs in my data are present in my dataset A.
If all the IDs are correct (present in A) then I want all ID fields to be output.
| Primary Ap ID | Secondary Ap ID | Primary Al ID | Secondary Al ID |
| 123 | 890 | 786 | 654 |
If both the primary IDs are present and the secondary IDs are wrong then I want to only output the Primary IDs.
| Primary Ap ID | Secondary Ap ID | Primary Al ID | Secondary Al ID |
| 123 | 890 | | |
If either of the primary ID are wrong then I want to output 4 additional fields for each ID. And I want the output to look like this.
| Primary Ap ID | Secondary Ap ID | Primary Al ID | Secondary Al ID | Primary Ap ID Issue | Secondary Ap ID Issue | Primary Al ID Issue | Secondary Al ID Issue |
| 122 | 890 | 786 | 654 | Yes | No | No | No |
How can I accomplish this?
I have the dataset A in an excel sheet.
Thanks for your help!