Hi, I'm breaking my head over this, I wonder if any of you could help me out.
I work in a small library and I'm trying to rank our most frequent users. We already have a table with every borrowing of a book, with the name of the user in a column. How many times the user appears is equal to how many books he took.
I was able to count how many times they appear, but since there is both repeated numbers for the same user and also sometimes the users also tie between themselves, I couldn't solve the problem of ranking them properly. I want every user to appear, even if they tie. Here is how the table looks like, simplified, and also what I want to do:
[TABLE="class: outer_border, width: 500, align: center"]
<tbody>[TR]
[TD]User[/TD]
[TD]Books taken[/TD]
[TD] [/TD]
[TD]Ranking I want[/TD]
[TD]User[/TD]
[TD]Books taken[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]John[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]2[/TD]
[TD]Frank[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Frank[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]2[/TD]
[TD]Mary[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]3[/TD]
[TD]Karen[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]3[/TD]
[TD]Bruno[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Karen[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Frank[/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Bruno[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'd appreciate any tip at this point. Thank you!
PS: I'm using Excel 2010
I work in a small library and I'm trying to rank our most frequent users. We already have a table with every borrowing of a book, with the name of the user in a column. How many times the user appears is equal to how many books he took.
I was able to count how many times they appear, but since there is both repeated numbers for the same user and also sometimes the users also tie between themselves, I couldn't solve the problem of ranking them properly. I want every user to appear, even if they tie. Here is how the table looks like, simplified, and also what I want to do:
[TABLE="class: outer_border, width: 500, align: center"]
<tbody>[TR]
[TD]User[/TD]
[TD]Books taken[/TD]
[TD] [/TD]
[TD]Ranking I want[/TD]
[TD]User[/TD]
[TD]Books taken[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]1[/TD]
[TD]John[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]2[/TD]
[TD]Frank[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]Frank[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]2[/TD]
[TD]Mary[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]3[/TD]
[TD][/TD]
[TD]3[/TD]
[TD]Karen[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD]2[/TD]
[TD][/TD]
[TD]3[/TD]
[TD]Bruno[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Karen[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Frank[/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Bruno[/TD]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'd appreciate any tip at this point. Thank you!
PS: I'm using Excel 2010