Thanks for trying Tanveer
I tried it but it gives the same result as the formula I tried.
I also tried this: = if ([Y] = "Not assigned") then [Y] In([X]) else [Y]
Same result for all of them:
[X] [Y]
A
A
A Apple
B
B Bee
C
C
C
C Candy
Regards
Antonette