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.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 445 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives