I have a set of data which I need to attach a fairly complex rank to. I have the headings: Sales Person, Company and Status. Firstly I need to separate the ranking by the different statuses, then rank first by Sales Person then Company. All are text values so will need to be ranked in alphabetical order.
For Example:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Sales Person
[/TD]
[TD]Company
[/TD]
[TD]Status
[/TD]
[TD]Rank
[/TD]
[/TR]
[TR]
[TD]David
[/TD]
[TD]AAA
[/TD]
[TD]Authorised
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]Fiona
[/TD]
[TD]BBB
[/TD]
[TD]Authorised
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]Bianca
[/TD]
[TD]CCC
[/TD]
[TD]Authorised
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]Fiona
[/TD]
[TD]DDD
[/TD]
[TD]Un-Authorised
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]David
[/TD]
[TD]EEE
[/TD]
[TD]Authorised
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]Fiona
[/TD]
[TD]FFF
[/TD]
[TD]Un-Authorised
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]Fiona
[/TD]
[TD]GGG
[/TD]
[TD]Authorised
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]Bianca
[/TD]
[TD]HHH
[/TD]
[TD]Un-Authorised
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]Fiona
[/TD]
[TD]III
[/TD]
[TD]Un-Authorised
[/TD]
[TD]4
[/TD]
[/TR]
</tbody>[/TABLE]
Does anyone have experience with this sort of thing? I would really appreciate any assistance at all.
Thanks in advance.
For Example:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Sales Person
[/TD]
[TD]Company
[/TD]
[TD]Status
[/TD]
[TD]Rank
[/TD]
[/TR]
[TR]
[TD]David
[/TD]
[TD]AAA
[/TD]
[TD]Authorised
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]Fiona
[/TD]
[TD]BBB
[/TD]
[TD]Authorised
[/TD]
[TD]4
[/TD]
[/TR]
[TR]
[TD]Bianca
[/TD]
[TD]CCC
[/TD]
[TD]Authorised
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]Fiona
[/TD]
[TD]DDD
[/TD]
[TD]Un-Authorised
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]David
[/TD]
[TD]EEE
[/TD]
[TD]Authorised
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]Fiona
[/TD]
[TD]FFF
[/TD]
[TD]Un-Authorised
[/TD]
[TD]3
[/TD]
[/TR]
[TR]
[TD]Fiona
[/TD]
[TD]GGG
[/TD]
[TD]Authorised
[/TD]
[TD]5
[/TD]
[/TR]
[TR]
[TD]Bianca
[/TD]
[TD]HHH
[/TD]
[TD]Un-Authorised
[/TD]
[TD]1
[/TD]
[/TR]
[TR]
[TD]Fiona
[/TD]
[TD]III
[/TD]
[TD]Un-Authorised
[/TD]
[TD]4
[/TD]
[/TR]
</tbody>[/TABLE]
Does anyone have experience with this sort of thing? I would really appreciate any assistance at all.
Thanks in advance.