I get a table with players names and amount of goals, need to rank players top scorer and extract their names,rank and goals in other cells.
Attach the example file.
Thanks!
I get a table with players names and amount of goals, need to rank players top scorer and extract their names,rank and goals in other cells.
Attach the example file.
Thanks!
Hi,
Here's one way of doing it.
I've added a "unique rank" in column E and used that with INDEX/MATCH to look up the names and goals scored data.
Hope that helps.
S.
If I've been of help, please hit the star
Excelent!! you're a genius solve my issue
Thank you very much!!
This forum rocks!
Hi and welcome to the forum
You have a few duplicate goal values in D (as would be expected), so i added a helper column in E and used this, copied down, to deal with the duplicates - you can hide this if you want...
=COUNTIF($D$2:D2,D2)/100+D2
Then in D44, copied down, use this...
=INDEX($D$2:$D$41,MATCH(LARGE($E$2:$E$41,ROW(A1)),$E$2:$E$41,0),1)
and in B44, copied down, use this...
=INDEX($B$2:$B$41,MATCH(LARGE($E$2:$E$41,ROW(A1)),$E$2:$E$41,0),1)
let me know if this is what you wanted?
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Glad to help.
Don't forget to mark your threat as "SOLVED".
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks