Add unique Id to list of numbers - VBA
问题 I have a list of numbers (50,000+) and I need to add a Id to the end of each unique group. The Id is in a format of "-###". 151022 151022 151020 150922 150715 150911 151014 151021 151020 151019 151019 151019 151020 I need it to print like this 151022-001 151022-002 151020-001 150922-001 150715-001 150911-001 151014-001 151021-001 151020-002 151019-001 151019-002 151019-003 151020-002 I currently have this code that I found and modified slightly. If I could get it to start counting unique