Assign Ascending Letters to Matching Numbers (Eliminate Duplicates)

adamp1027

New Member
Joined
Feb 22, 2022
Messages
8
Office Version
  1. 2019
Platform
  1. Windows
Hello,
I have a list of sku numbers in column A (example N02345, LN0345)
I need to assign a, b, c, etc to the end when the sku appears more than once.

I found some possible solutions in another thread, but they don't work.
Maybe because my sku numbers start with letters?

=A2&CHAR(64+COUNTIF(A$2:A2,A2))
=A2&LOOKUP(COUNTIF($A$2:A2,A2),{1,2,3,4,5},{"A","B","C","D","#"})
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Perhaps:

=A2&IF(COUNTIF(A$2:A2,A2)=1,"",CHAR(63+COUNTIF(A$2:A2,A2)))

Do you need to allow for the possibility of more than 26 duplicates?
 
Upvote 0
Upvote 0
Solution
Thanks! Stephen yours seemed to not add the letter after, but BSALV's solution works perfectly.
 
Upvote 0

Forum statistics

Threads
1,214,520
Messages
6,120,017
Members
448,936
Latest member
almerpogi

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top