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
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 461 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!