skm_newsletter
New Member
- Joined
- Sep 18, 2013
- Messages
- 3
Hi All,
I need to reverse count continuous values. See example below
[TABLE="width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]ActualYN[/TD]
[TD="width: 64"]Rcount[/TD]
[/TR]
[TR]
[TD]Down[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Down[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Down[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Down[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Down[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Down[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Down[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Down[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]1[/TD]
[/TR]
</tbody>[/TABLE]
Thanks,
Sanjay
I need to reverse count continuous values. See example below
[TABLE="width: 128"]
<colgroup><col width="64" span="2" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]ActualYN[/TD]
[TD="width: 64"]Rcount[/TD]
[/TR]
[TR]
[TD]Down[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Down[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Down[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Down[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Down[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Down[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Down[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Down[/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]Up[/TD]
[TD="align: right"]1[/TD]
[/TR]
</tbody>[/TABLE]
Thanks,
Sanjay