I have a column of ID numbers that I converted to six digits, some with leading zeros, that is stored as text. What I would like to do is have a macro look for duplicate values and append the text in the cell with the sequence number of the duplicate. So this:
would show as:
I have search for hours and tried several macros but I can't find anything that gives these results. I can sometimes modify code to accomplish my goals but I am stumped on this one.
Thank you for your help.
000123 |
000124 |
000124 |
945125 |
945125 |
would show as:
00123 |
000124-1 |
000124-2 |
945125-1 |
945125-2 |
I have search for hours and tried several macros but I can't find anything that gives these results. I can sometimes modify code to accomplish my goals but I am stumped on this one.
Thank you for your help.