RANKAVG Function - exclude cell from range
Hello,
I am trying to use the RANKAVG function but cannot figure out how to exclude a cell from the range selection. My equation is: =IFERROR(RANKAVG([Total Score]@row, [Total Score]$12:[Total Score]$77, 0), ""). I do not want to include cells [Total Score]24:[Total Score]26, [Total Score]39:[Total Score]41, [Total Score]52:[Total Score]54, or [Total Score]65:[Total Score]67 in the selection. Is there a way to exclude these cells from the ranking?
Best Answer
-
I suggest creating a helper column that can be hidden later. Using a checkbox column, you can check the box for all rows you want to include and include the range/criteria in your formula by incorporating a COLLECT function in place of the range.
Answers
-
I suggest creating a helper column that can be hidden later. Using a checkbox column, you can check the box for all rows you want to include and include the range/criteria in your formula by incorporating a COLLECT function in place of the range.
-
Got it! Thank you!
=IFERROR(RANKAVG([Total Score]@row, COLLECT([Total Score]$12:[Total Score]$77, DNS$12:DNS$77, 0), 0), "")
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 205 Use Cases
- 516 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!