Hello,
I have data of groups and individuals. Each individuals is assigned a name. For each individual I want to know how many more individuals are named like him/her within the group.
So my data looks like the first three colums (Id, Group, Name) and I want to add the 4th column (SHARE_NAMES):
Thank you very much for any help.
I have data of groups and individuals. Each individuals is assigned a name. For each individual I want to know how many more individuals are named like him/her within the group.
So my data looks like the first three colums (Id, Group, Name) and I want to add the 4th column (SHARE_NAMES):
| Id | Group | Name | SHARE_NAMES | |
| 1 | 1 | JACK | 2 | |
| 2 | 1 | JACK | 2 | |
| 3 | 1 | ANNA | 0 | |
| 4 | 1 | JACK | 2 | |
| 5 | 1 | MICHAEL | 0 | |
| 6 | 2 | JACK | 0 | |
| 7 | 2 | NICOLE | 1 | |
| 8 | 2 | MICHAEL | 0 | |
| 9 | 2 | NICOLE | 1 |
Thank you very much for any help.

Comment