# Count Formula for more than one condition

Options
✭✭✭✭✭
edited 12/08/23

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.

• ✭✭✭✭✭✭
Options

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.

• ✭✭✭✭✭✭
edited 09/15/22
Options

@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

If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!

• ✭✭✭✭✭
Options

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.

• ✭✭✭✭✭✭
Options

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.

• ✭✭✭✭✭
Options

Hi Andree / Jeff: I took another stab and Jeff's formula. It is working now! Thank you both for your help.

• ✭✭✭✭✭✭
Options

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.

• ✭✭✭✭✭
Options

Sorry, I'm back. Apparently, Smartsheet is not counting tasks (in Jeff's formula above) if the Status ISBLANK. How do we incorporate this?

• ✭✭✭✭✭
Options

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

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!