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
- 64K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 138 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives