Automatic "Numbering" of unique rows with A,B,C.... or AA,AB,AC... with power query

nahaku

Board Regular
Joined
Mar 19, 2020
Messages
106
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hello, I would like to create template where when i insert data it woull add something like numbering but with alphabetic symbols.
It should start from A,B,C... if it makes simplier it could start with AA,AB,AC... because on the end of the day it can be that It will need more symbols then is in basic alphabet, so it will need to combine atleast two letters.
The Location column is basically Unique for each sequence of A,B,C, it should be always reseted for new Location, as on the example what i want to achieve.
Name column will be unique but only within the location, it can be same for multiple Names.
Is there some function I could use in power Query or Excel itself? To create this column of IDs.
IC sorting data.xlsx
JKLM
1locationNAMEidID VERSION2
2MSKU8416005V074-UKAN1008358-N12AAA
3MSKU8416005V085-UKATPN1000668-N12BAB
4MSKU8416005V289-UKAN1012044-N10CAC
5MSKU8416005V289-UKAN1012044-N9DAD
6MSKU8416005V002-UKAKKOA131073-N12EAE
7MSKU8416005V009-UKAPLN1011875-N3FAF
8MSKU8416005V263-UKAKKOA147545-N4GAG
9MSKU8416005V286-UKAKKOGN1006376-N5HAH
10MSKU8416005V286-UKAKKOGN1006376-N6IAI
11TCLU6297933R708004AAA
12TCLU6297933R708005BAB
13TCLU6297933R708007CAC
14TCLU6297933R804021DAD
15TCLU6297933R804024EAE
16TCLU6297933R901013FAF
Upload format
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,213,565
Messages
6,114,338
Members
448,569
Latest member
Honeymonster123

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