Hello all,
Please help me find a formula/function to generate unique strings in column B by appending incremental numbers to duplicates in column A.
Please see attached files illustrating the output I would like to see in column B.
Many thanks
Bel
Hello all,
Please help me find a formula/function to generate unique strings in column B by appending incremental numbers to duplicates in column A.
Please see attached files illustrating the output I would like to see in column B.
Many thanks
Bel
Last edited by newcombe; 10-06-2020 at 05:45 AM.
Welcome to the forum.
You can use this formula in B2:
=A2&IF(COUNTIF(A:A,A2)=1,"","_"&COUNTIF(A$2:A2,A2))
then copy down if it does not copy down automatically.
Hope this helps.
Pete
Hi Pete
I have thousands of data with duplicates, I have tried days to figure it out. Thank you indeed, you are a life saver.
Bel
You're welcome - glad to help.
If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.
Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).
Pete
Thank you for your kind help
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks