Using Countifs for multiple items in the same column

Good morning,

the formula I have written doesn't wotk probably an easy fix. thanks in advance for the help

=COUNTIFS(Stage:Stage, ="Active - Commit", "Active - High Probability")

Answers

  • Sean Maney
    Sean Maney ✭✭✭✭

    Also tried this:

    =COUNTIFS([Stage:Stage], ="Active - Commit", OR "Active - High Probability")

  • Carson Penticuff
    Carson Penticuff ✭✭✭✭✭✭

    COUNTIFS is used when you want to verify that two or more conditions exist. It looks like you want to ensure that ONE of two possible conditions exist. You would want to use COUNTIF instead.


    =COUNTIF(OR(Stage:Stage = "Active - Commit", Stage:Stage = "Active - High Probability"))

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭

    Hi @Sean Maney

    I hope you're well and safe!

    Try something like this.

    =COUNTIFS(Stage:Stage, OR(@cell = "Active - Commit", @cell = "Active - High Probability"))

    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:[email protected] | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

  • Sean Maney
    Sean Maney ✭✭✭✭

    Another Q for you...

    I want to a count of records between today and today +30. This is what I've written.....

    =COUNT([Expected Order Date]:[Expected Order Date], >TODAY(), <TODAY(30))

    This works: =COUNT([Expected Order Date]:[Expected Order Date], <TODAY(30)) but I really need to count to start from TODAY. That formula looks backwards in infinity

  • Carson Penticuff
    Carson Penticuff ✭✭✭✭✭✭

    =COUNTIFS([Expected Order Date]:[Expected Order Date], > TODAY(), [Expected Order Date]:[Expected Order Date], <= TODAY(30))

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!