Count Collect formula assistance needed
Hey all,
I'm using a Count Collect formula I grabbed from the PMO template as a baseline. Here's the original formula:
=COUNT(COLLECT({Task ID}, {Task Status}, "In Progress", {Task Health}, $Label@row))
Only thing I changed from the PMO is instead of "Project" I changed it to "Task". I'm trying to get similar metrics on individual tasks that don't fall within projects.
What I'm struggling with is modifying the "Collect" criterion (currently "In Progress") to look for more than just "In Progress" status.
Here's what I tried that I was positive was going to work, but it returns a 1, when it should return a 0.
=COUNT(COLLECT({Task ID}, {Task Status}, OR({Task Status} <> "Complete", {Task Status} <> "Canceled"), {Task Health}, $Label@row))
Essentially all statuses that are not "Complete" nor "Canceled".
Let me know what I'm missing or if I can provide any additional information. Thanks!
Answers
-
I may have figured it out, but I would love a formula expert to confirm if my logic is sound.
So far, it seems to be working.
Here's what I have:
=COUNTIFS({Task Health}, $Label@row, {Task Status}, <>"Complete", {Task Status}, <> "Canceled")
So with CountIFS, if my understanding is correct, it's looking for the following:
First, if the Health column shows a certain column (yellow, red, blue, green, etc.)
Next, the Status cannot be "complete".
And lastly, the status cannot be "canceled".
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives