dygitaldude
New Member
- Joined
- Apr 29, 2017
- Messages
- 10
Please help!
This is my first time posting. Please excuse me, if I'm not clear enough. I'm trying to figure out a way to number the rows as in Col C below. The first instance of Col A should be numbered 1, if subsequent value is same as Col B then 1 or increment 1.
Thanks
[TABLE="class: cms_table"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]100[/TD]
[TD]Bat[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]100[/TD]
[TD]Ball[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]100[/TD]
[TD]Glove[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]200[/TD]
[TD]Bat[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]200[/TD]
[TD]Bat[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]200[/TD]
[TD]Ball[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]200[/TD]
[TD]Ball[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]200[/TD]
[TD]Glove[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]200[/TD]
[TD]Glove[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]300[/TD]
[TD]Ball[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]300[/TD]
[TD]Glove[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
This is my first time posting. Please excuse me, if I'm not clear enough. I'm trying to figure out a way to number the rows as in Col C below. The first instance of Col A should be numbered 1, if subsequent value is same as Col B then 1 or increment 1.
Thanks
[TABLE="class: cms_table"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]100[/TD]
[TD]Bat[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]100[/TD]
[TD]Ball[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]100[/TD]
[TD]Glove[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]200[/TD]
[TD]Bat[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]200[/TD]
[TD]Bat[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]200[/TD]
[TD]Ball[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]200[/TD]
[TD]Ball[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]200[/TD]
[TD]Glove[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]200[/TD]
[TD]Glove[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]300[/TD]
[TD]Ball[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]300[/TD]
[TD]Glove[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]