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
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!