Hi,
I have the follow data where I need to do a cross lookup by group or ID belong to the same owner and create a new identifier. In this example, group A B C & D are linked due to owner's ID 133, and ID 97 and 55 are included because of group C. and 21 are linked due to group B & D. is there a loop function I could use for this practice? I need to look through over 300,000 data to create the new identifier if they have group or ID in common.
| Group | ID | owner | Identifier |
| A | 133 | abcd | 1 |
| B | 133 | abcd | 1 |
| C | 133 | abcd | 1 |
| D | 133 | abcd | 1 |
| C | 97 | abcd | 1 |
| C | 55 | abcd | 1 |
| B | 21 | abcd | 1 |
| D | 21 | abcd | 1 |