I need to seach in an column if there are similar id's and if yes ro copy the group and insert in the empty cell.
I have the following table
Group Status ID
Log in 1
Log out 1
Log in 3
Log out 2
A 1
B 2
C 3
The table should look like this:
Group Status ID
A Log in 1
A Log out 1
C Log in 3
B Log out 2
A 1
B 2
C 3
To do this I tried to use this formula:
=IF(C2=(C4:C7);(A4:A7);IF(C2=(C4:C7);(A4:A7);""))
Unfortunatly it is not working, any idea why?


C4:C7evaluate to? Should this be the sum? Count?A = 1,B = 2,C = 3etc...?VLOOKUPonColumn A?