RANKEQ
i try to ranking the number column with some criteria with this formula:
=IF(AND(HAS([Product Category]:[Product Category]; "Google"); OR([Stage Category]@row = "Healthy"; [Stage Category]@row = "Stuck")); RANKEQ([Sum of Total Contract Value (converted)]@row; [Sum of Total Contract Value (converted)]:[Sum of Total Contract Value (converted)]; 0))
but when i check the top 30 ranking with filter, i just find this rank. please help:
Answers
-
You "IF" only prevent the RankEQ to write something in the column. But you rank all the row. It happens that 22,23 and 24 fit the "if" condition.
You could set a helper column that flags the rows you want to rank, and then rank on that column
[Helper column] : Checkbox
=IF(AND(HAS([Product Category]:[Product Category]; "Google"); OR([Stage Category]@row = "Healthy"; [Stage Category]@row = "Stuck")); 1; 0))
[Ranked TCV]:
=RANKEQ([Sum of Total Contract Value (converted)]@row;collect([Sum of Total Contract Value (converted)]:[Sum of Total Contract Value (converted)];[Helper column],=1))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 85 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!