Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Creating leaderboard in Google Sheets

$
0
0

Example: https://docs.google.com/spreadsheets/d/1vE5DSC5bQMuHGMk3IRtLqFpTlr6AsfFvk0hMYZLts7o/edit?usp=sharing

Let's say I have the following table

Table 1 is titled "Scoring"

TomMikeCarl
G1415
G2527
Total9312

I know I can use functions to determine what number is the largest (First place), second largest (Second Place) and third-largest (third place) number is...

=LARGE(B4:D4, 1)

=LARGE(B4:D4, 2)

=LARGE(B4:D4, 3)

And that will return 129 and 3 respectively. Is it possible to take those numbers, and get the name (from row 1) that corresponds to them? So my output would be CarlTom and Mike in that order. If needed, two steps can be made (So step one is to get the number, and step two (In a different cell) is to find the name.

Here is what I want the final output to look like:

TomMikeCarl
G14151stCarl
G25272ndMike
Total93123rdTom

I guess I should mention that the names are stated externally, and are shown in the table above using =Info!B[number] and the totals are calculated from adding the G1 and G2 scores together.


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>