A
i need the logic in vba(using any loops) for this >
if col A has repeted vales then col B should have the first instance value for such repetations as x and rest as y. basically i need to populate col B in this way, col A is only present.
eg,
A B
2 x
2 y
1 y
3 x
3 y
3 y
if col A has repeted vales then col B should have the first instance value for such repetations as x and rest as y. basically i need to populate col B in this way, col A is only present.
eg,
A B
2 x
2 y
1 y
3 x
3 y
3 y