Count Formula for more than one condition
Hi. I need to complete this formula:
=COUNTIF([Team Member]:[Team Member], "Joe") and Status <> "Complete" or "Not in Scope".
What is the recommendation to determine how many outstanding tasks Joe has? Thank you.
Answers
-
Hi @PMOGal
I hope you're well and safe!
Try something like this.
=COUNTIFS([Team Members]:[Team Members], "Joe", Status:Status, OR(@cell <> "Complete", @cell <> "Not in Scope"))
Did that work/help?
I hope that helps!
Be safe, and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
@PMOGal You'll want to use COUNTIFS for this, as this function allows you to specify multiple criteria.
=COUNTIFS([Team Member]:[Team Member], "Joe", Status:Status <> "Complete", Status:Status <> "Not in Scope")
In English: Count rows where Team Member = Joe, and where Status is not Complete nor Not in Scope.
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
Hi Andree/Jeff: I am getting an UNPARSABLE error with either formula. [Status], like [Team Member] is a column heading. Do I need the [ ] around Status? I tried that, too, and I still get unparsable.
-
Strange!
Can you maybe share some screenshots? (Delete/replace any confidential/sensitive information before sharing)
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Hi Andree / Jeff: I took another stab and Jeff's formula. It is working now! Thank you both for your help.
-
Excellent!
You're more than welcome!
✅Please support the Community by marking the post(s) that helped or answered your question or solved your problem with the accepted answer/helpful, Insightful/Vote Up/Awesome. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Sorry, I'm back. Apparently, Smartsheet is not counting tasks (in Jeff's formula above) if the Status ISBLANK. How do we incorporate this?
-
Please cancel. I appear to have a browsing issue. My report is correct, my dashboard is not. Going to clear browser data.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!