I hope you can help me resolving an issue in VBA with regard to adding a suffix to duplicate values. I have a range that looks like the following:
COL A:
000049
000050
000051
000052 (duplicate)
000052 (duplicate)
000053
000054
What I want to achieve is that once there is a duplicate in Column A, it adds a suffix to both numbers. I've only managed (using a loop) to set it for one of the fields.
Conditions:
- If there is a duplicate, all duplicates must have a suffix;
- If there is a new duplicate (let say we have 000052A and 000052B and we now move to 000061), the suffix count has to restart back from A.
Your help is really much appreciated!