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), "")
-
Perfect. Glad you got it working. Happy to help! 👍️
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!