i labled my colums 1-7 and rank as my last one.
my ranking isnt working how i want it to
if column 1 is different i want to start the ranking over
so ranking should go 1,2,1,2.
since the first two records are 602137, the ranking should be 1 and then 2
same with 603753
1 2 3 4 5 6 7 RANK
602137 20070216 MECH 0010 9999 5 2 1
602137 20070219 AUDIT 0080 9999 2 1 1
603753 20070119 MECH 0020 9999 46 21 1
603753 20070123 AUDIT 0080 9999 21 9 1