ranking based on criteria (RANKEQ, COLLECT)
I'm stumped with getting RANKEQ to work with COLLECT as a column formula.
I want to rank a total score ("TOTAL") within each of several award categories ("Award Category").
I can make the following cell formula work (in column "Rank by award category"), and then drag the formula across other cells.
=RANKEQ(TOTAL@row, COLLECT($TOTAL$1:$TOTAL$20, $[Award Category]$1:$[Award Category]$20, [Award Category]@row), 0)
However, this sheet will be filled from form entries, and I'd prefer to have a column formula as opposed to dragging a cell formula to other cells.
I can't make the following formula work so I can set it up as a column formula (in column "Rank 2").
=RANKEQ(TOTAL@row, COLLECT([TOTAL:TOTAL], Award Category:Award Category, Award Category@row),0)
What am I doing wrong?!
Thanks to @Genevieve P. for her answers to other queries, which have got me this far, and it's her formula that I am trying to make work. Must be something I am doing wrong! 😫
Answers
-
Fixed it by trial and error
=RANKEQ(TOTAL@row, COLLECT(TOTAL:TOTAL, [Award Category]:[Award Category], [Award Category]@row), 0)
Think it was possibly something to do with needing square brackets around column names with a space in between words on column title maybe?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!