I'm a bit stumped by this one. I'm trying to make a formula that will add sequential numbering to a non-sequential list. Here is an example of what I'm talking about.
[TABLE="width: 393"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Category
[/TD]
[TD]Category with Sequential Numbering
[/TD]
[TD]Match Result[/TD]
[/TR]
[TR]
[TD]D
[/TD]
[TD]D01[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]A01[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]A02[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]C01[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]B01[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]B02[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]B03[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]A03[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]A04[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]C02[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]C03[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]C04[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]C05[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]A05[/TD]
[TD="align: right"]5[/TD]
[/TR]
</tbody>[/TABLE]
I've tried using the match function, and it groups the "like" categories (A's, B's, C's, and D's), but I'm unsure how to add the incremental numbering. I also need the first instance of every new category to start with 01 (A01, B01, C01, and D01) before the formula walks down the list and adds the next numerical increment to the next instance of that category's appearance. Any help and/or ideas rendered would be GREATLY appreciated!
-=Astayonix=-
[TABLE="width: 393"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]Category
[/TD]
[TD]Category with Sequential Numbering
[/TD]
[TD]Match Result[/TD]
[/TR]
[TR]
[TD]D
[/TD]
[TD]D01[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]A01[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]A02[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]C01[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]B01[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]B02[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD]B[/TD]
[TD]B03[/TD]
[TD="align: right"]8[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]A03[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]A04[/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]C02[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]C03[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]C04[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]C[/TD]
[TD]C05[/TD]
[TD="align: right"]7[/TD]
[/TR]
[TR]
[TD]A[/TD]
[TD]A05[/TD]
[TD="align: right"]5[/TD]
[/TR]
</tbody>[/TABLE]
I've tried using the match function, and it groups the "like" categories (A's, B's, C's, and D's), but I'm unsure how to add the incremental numbering. I also need the first instance of every new category to start with 01 (A01, B01, C01, and D01) before the formula walks down the list and adds the next numerical increment to the next instance of that category's appearance. Any help and/or ideas rendered would be GREATLY appreciated!
-=Astayonix=-