Counting single values with multiple criteria

I need a little help with a formula in Smartsheet, I am trying to count the number of employees who are over utilised (> 105) but some employees have multiple entries (same utilisation, so only need 1 entry in the count). Answer below should be 3
Best Answer
-
Have you tried incorporating the formula function Distinct (https://help.smartsheet.com/function/distinct)?
It will only look for unique values.
I think in your case, you may want to opt for a Count/Distinct/Collect formula. This will count the unique values based on your parameters, in this case, the utilization being over 105.
Based on your screenshot try this: =COUNT(DISTINCT(COLLECT(Name:Name, Utilisation:Utilisation, >105)))
Name:Name would be the column housing the names and Utilisation:Utilisation would be the column housing the numbers.
I hope this helps?
Answers
-
Have you tried incorporating the formula function Distinct (https://help.smartsheet.com/function/distinct)?
It will only look for unique values.
I think in your case, you may want to opt for a Count/Distinct/Collect formula. This will count the unique values based on your parameters, in this case, the utilization being over 105.
Based on your screenshot try this: =COUNT(DISTINCT(COLLECT(Name:Name, Utilisation:Utilisation, >105)))
Name:Name would be the column housing the names and Utilisation:Utilisation would be the column housing the numbers.
I hope this helps?
-
Perfect, thanks Antonie, the DISTINCT function is new to me. The learning never stops. :)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.2K Get Help
- 431 Global Discussions
- 152 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 74 Community Job Board
- 501 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 306 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!