Hello, new member but longtime reader.
I haven't been able to find a solution for this particular issue, hope there is one.
Given a sheet with several thousand lines, each line representing an item reference code (SS0003, SR0528, etc), I've added a simple countif on each line to determine how many equal reference codes are in the sheet. For example, each "SS0003" reference code has 18 entries, "SR0528" has 17, etc.
What I need to do is rank the numbers from 1 to 10 (I'm trying to build a Top 10 without having to do a pivot table), but using unique values. That is, 18 would be 1 (as it's the largest value), 17 would be 2 (as it's the second largest value), and so on. I've tried the RANK function, but I find that 18 is indeed 1, but the second highest value, 17, is actually ranked 19 (as there are 18 values before it).
Is there a way? I hope I've explained myself properly, and thanks for your help.
I haven't been able to find a solution for this particular issue, hope there is one.
Given a sheet with several thousand lines, each line representing an item reference code (SS0003, SR0528, etc), I've added a simple countif on each line to determine how many equal reference codes are in the sheet. For example, each "SS0003" reference code has 18 entries, "SR0528" has 17, etc.
What I need to do is rank the numbers from 1 to 10 (I'm trying to build a Top 10 without having to do a pivot table), but using unique values. That is, 18 would be 1 (as it's the largest value), 17 would be 2 (as it's the second largest value), and so on. I've tried the RANK function, but I find that 18 is indeed 1, but the second highest value, 17, is actually ranked 19 (as there are 18 values before it).
Is there a way? I hope I've explained myself properly, and thanks for your help.