Count distinct Collect
TDobson
✭✭✭
This formula does exactly what I want it to do. It counts one of a duplicate or triplicate value. Is there anyway to make it count only when there is more than 1 (IE duplicate) otherwise return "0".
=COUNT(DISTINCT(COLLECT({IFS Contract #}, {Sales Manager Name Only}, "manager")))
Answers
-
=IF(COUNT(DISTINCT(COLLECT({IFS Contract #}, {Sales Manager Name Only}, "manager"))) > 1 , COUNT(DISTINCT(COLLECT({IFS Contract #}, {Sales Manager Name Only}, "manager"))) , 0)
...
-
Thank you, however if i have followed your directions correctly it is still returning the exact number of entry's when there are no duplicates in the column. The number 35 needs to be 0. if there are entrys but no duplicates.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!