Hello dear excelforum users,
I have a question regarding the following:
I have two columns Column A and Column B.
Column A contains the first part of a productcode, it is the main productgroup. Main productgroups can be either 10,20 ,30 ,40, 50, 60, 70, 80 or 90
Colunn B contains the second part of a productcode, it is a subgroup of the main productgroup. Subgroups can be either 01, 02, 03, 04 all the way to 99.
Any combination of main and subgroup is possible but this doesn't mean the combination already exists. So 10-01 and 20-01 and 30-01 are possible.
Now, in column C I want sequential numbering from 00001 all the way to 99999.
So, 10-01-00001 and 20-01-00001 and 30-01-00001 are possible.
The problem is, it has to restart the number at 00001 everytime the subgroup changes (I believe the maingroup is of no consequence).
Is there a way to automate this process? The records is about 15.000 entries big and keeps growing, so doing it manually is not really an option.
For an example I created by hand, please see the attached file.
Hopefully I have been clear enough, if more information is required please ask.
With kind regards and thanks in advance,
Niklas
Bookmarks