Hi,
I would like to generate a list with the top 3 people with the highest number of incidents in one year (including their name and count).
I have a list of names with their incident counts, but I have trouble listing the top 3 because there are duplicates in the incident counts.
I can't do pivot table or anything manual as this feeds into a chart/dashboard automatically.
Any thoughts are appreciated!
Manon
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A (name)[/TD]
[TD]B (#incidents)[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Peter[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Alex[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Denise[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Sylvie[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Lucie[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Daniel[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Michel[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]TOP 3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Name[/TD]
[TD]Count[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I would like to generate a list with the top 3 people with the highest number of incidents in one year (including their name and count).
I have a list of names with their incident counts, but I have trouble listing the top 3 because there are duplicates in the incident counts.
I can't do pivot table or anything manual as this feeds into a chart/dashboard automatically.
Any thoughts are appreciated!
Manon
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A (name)[/TD]
[TD]B (#incidents)[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Peter[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Alex[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Denise[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Sylvie[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Lucie[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Daniel[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Michel[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]TOP 3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]Name[/TD]
[TD]Count[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]