Hi friends,
I want to give a unique ID to each person.
It should be given alphabetically.
Column ‘D’ contains surname.
Column ‘H’ contains ID.
If the surname starts with a letter ‘A’ then a ID should start with a letter ‘A0001’
Second time If the surname starts with a letter ‘A’ then a ID should start with a letter ‘A0002’ and so on …
If the surname starts with a letter ‘B’ then a ID should start with a letter ‘B0001’
Second time If the surname starts with a letter ‘B’ then a ID should start with a letter ‘B0002’ and so on …
It should be same for each letter from A to Z respectively.
Please suggest me solution macro or formula.
Thanking you in anticipation.
Bookmarks