Hi,
I have a table of data that looks like below.
I need to be able to rank seperately both the TS & TM division sales whilst only looking at certain criteria, in this case 66 and 67 but these numbers just a small sample.
My actual worksheet is a dump with over 30 different Area's.
[TABLE="width: 320"]
<colgroup><col width="64" span="5" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Division[/TD]
[TD="class: xl63, width: 64"]Area[/TD]
[TD="class: xl63, width: 64"]Sales[/TD]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64"]Rank 66 & 67.[/TD]
[/TR]
[TR]
[TD]TS[/TD]
[TD="align: right"]66[/TD]
[TD="align: right"]50[/TD]
[TD][/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]TS[/TD]
[TD="align: right"]66[/TD]
[TD="align: right"]50[/TD]
[TD][/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]TS[/TD]
[TD="align: right"]67[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]TS[/TD]
[TD="align: right"]68[/TD]
[TD="align: right"]90[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]TM[/TD]
[TD="align: right"]66[/TD]
[TD="align: right"]80[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]TS[/TD]
[TD="align: right"]67[/TD]
[TD="align: right"]50[/TD]
[TD][/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]TM[/TD]
[TD="align: right"]66[/TD]
[TD="align: right"]60[/TD]
[TD][/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]TM[/TD]
[TD="align: right"]68[/TD]
[TD="align: right"]70[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]TM[/TD]
[TD="align: right"]67[/TD]
[TD="align: right"]60[/TD]
[TD][/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]TS[/TD]
[TD="align: right"]66[/TD]
[TD="align: right"]100[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[/TR]
</tbody>[/TABLE]
I have a table of data that looks like below.
I need to be able to rank seperately both the TS & TM division sales whilst only looking at certain criteria, in this case 66 and 67 but these numbers just a small sample.
My actual worksheet is a dump with over 30 different Area's.
[TABLE="width: 320"]
<colgroup><col width="64" span="5" style="width:48pt"> </colgroup><tbody>[TR]
[TD="width: 64"]Division[/TD]
[TD="class: xl63, width: 64"]Area[/TD]
[TD="class: xl63, width: 64"]Sales[/TD]
[TD="class: xl63, width: 64"][/TD]
[TD="class: xl63, width: 64"]Rank 66 & 67.[/TD]
[/TR]
[TR]
[TD]TS[/TD]
[TD="align: right"]66[/TD]
[TD="align: right"]50[/TD]
[TD][/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]TS[/TD]
[TD="align: right"]66[/TD]
[TD="align: right"]50[/TD]
[TD][/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]TS[/TD]
[TD="align: right"]67[/TD]
[TD="align: right"]1[/TD]
[TD][/TD]
[TD="align: right"]5[/TD]
[/TR]
[TR]
[TD]TS[/TD]
[TD="align: right"]68[/TD]
[TD="align: right"]90[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]TM[/TD]
[TD="align: right"]66[/TD]
[TD="align: right"]80[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[/TR]
[TR]
[TD]TS[/TD]
[TD="align: right"]67[/TD]
[TD="align: right"]50[/TD]
[TD][/TD]
[TD="align: right"]4[/TD]
[/TR]
[TR]
[TD]TM[/TD]
[TD="align: right"]66[/TD]
[TD="align: right"]60[/TD]
[TD][/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD]TM[/TD]
[TD="align: right"]68[/TD]
[TD="align: right"]70[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]TM[/TD]
[TD="align: right"]67[/TD]
[TD="align: right"]60[/TD]
[TD][/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD]TS[/TD]
[TD="align: right"]66[/TD]
[TD="align: right"]100[/TD]
[TD][/TD]
[TD="align: right"]1[/TD]
[/TR]
</tbody>[/TABLE]