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
- Customer Resources
- 66K Get Help
- 429 Global Discussions
- 149 Industry Talk
- 488 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 153 Just for fun
- 74 Community Job Board
- 499 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives