Hi together
The initial situation is as follow:
The relation between column TR and column LTG is 1:n.
Every value in the column LTG need to get a unique code independent from TR.
The CODE also has to be unique per TR.
TR
LTG
CODE
A
1
?
A
2
?
B
3
?
B
1
?
C
1
?
C
3
?
I would like to get follow result (the code has to be unique per LTG and order is not importent):
TR
LTG
CODE
A
1
2
A
2
1
B
3
1
B
1
2
C
1
2
C
3
1