Count how many times a specific word appears in a column

Options
Lisa Welch
Lisa Welch ✭✭✭✭
edited 10/18/22 in Formulas and Functions

Column heading = Issue Type with drop down options Open, Updated, Closed

Need a formula to count how many times each is chosen

Thank you,

Answers

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

    Hi @Lisa Welch

    I hope you're well and safe!

    Try something like this. (change open to the other options as needed)

    =COUNTIFS([Issue Type]:[Issue Type], "Open")

    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.

  • jcurry
    jcurry ✭✭
    Options

    Using the information above, this worked for me for a count I need.

    =COUNTIFS([1st Priority]:[1st Priority], "Onboarding")


    I would also like to count the number of time onboarding appears in columns 2nd Priority and 3rd Priority and total the number of times in each column for a "grand" total. This is what I tried:

    =COUNTIFS([1st Priority]:[1st Priority], [2nd Priority]:[2nd Priority], [3rd Priority]:[3rd Priority], "Onboarding")

    It returned 0

    The actual number is 2

  • ker9
    ker9 ✭✭✭✭✭✭
    Options

    If those columns are the only columns that will contain the search word:

    =COUNTIFS([1st Priority]:[3rd Priority], "Onboarding")

    Otherwise you could string them together with "+"

    =COUNTIFS([1st Priority]:[1st Priority], "Onboarding") + COUNTIFS([2nd Priority]:[2nd Priority], "Onboarding")

  • Dale Murphy
    Dale Murphy ✭✭✭✭✭✭
    Options

    @jcurry Not sure what timezone @Andrée Starå is in, so I will horn in here ...

    COUNTIFS Function

    Counts the number of times all given conditions in their respective ranges are met.

    Try something like this:

    =COUNTIFS([1st Priority]:[1st Priority], "Onboarding") + COUNTIFS([2nd Priority]:[2nd Priority], "Onboarding") + COUNTIFS([3rd Priority]:[3rd Priority], "Onboarding")

    dm

  • jcurry
    jcurry ✭✭
    Options

    Bingo!! Thank you so much! Judy

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!