Want to get involved? We're always looking for ideas and content for Weekly Challenges.
SUBMIT YOUR IDEAWelcome to the community Rijutha - and congratulations on your first solutions; and first 2 badges! :-)
Again, maybe not the cleanest solution, but it works :)
Solution:
Solution attached. Interesting dialog on this one. I went with my first inclination which was to use the Multi-row Formula tool. Anticipating what I thought would be the problem that Rachel mentioned of getting the rank of 1 on the first row, I assigned a record id first, and then set the rank to 1 IF [RecordID] = 1. Upon closer examination of Rachel's solution, I realized that by default the Multi-Row tool property for 'Values for Rows that don't Exist' set the [Row-1:count] value to zero which led to a calc of (0 + 1) for the Rank assigned to the first row.
However, I take issue with this challenge because this is not how ranks are assigned, even in golf. Generally, in the case of ties ranks are skipped. To achieve the standard ranking, then the approach I took using the Record Id and a simple revision to the multi-row formula work perfectly, returning the following output. The provided solution and the Tile tool do not adjust so well. Let's keep it real :)
First | count | Rank |
JANET | 17 | 1 |
MARK | 17 | 1 |
PAUL | 15 | 3 |
BRADY | 14 | 4 |
CARLA | 14 | 4 |
CHRIS | 14 | 4 |
LINDA | 14 | 4 |
With the following record being
DALE | 13 | 8 |
Ken