Formula question on a "Drop Down Multi-Selection" column type.

Welcome to the New Smartsheet Online Community


You’ll notice that things have changed a bit. If you need help getting oriented, please take a look at the posts here in the Welcome to the Community category.

Formula question on a "Drop Down Multi-Selection" column type.

Hello,


I am trying to count the amount of times a particular "ticket category" is selected. Some of our tickets have multiple values to be applied and I am noticing that my formula does not count an item if there was more than 1 selection in the column "ticket category" I have attached some images and my formula is as follows:

=COUNTIF([Ticket Category]1:[Ticket Category]29, "Paint")


So to reiterate, how do I make sure that the count catches multiple values a cell in "ticket category" and adds it properly to the overall count for those subcategories?


Answers

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

    Hi Daniel,

    Try something like this.

    =COUNTIF([Ticket Category]1:[Ticket Category]49; CONTAINS("Paint"; @cell))
    

    The same version but with the below changes for your and others convenience.

    =COUNTIF([Ticket Category]1:[Ticket Category]49, CONTAINS("Paint", @cell))
    

    Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma."

    Did it work?

    I hope that helps!

    Have a fantastic week!

    Best,

    Andrée Starå

    Workflow Consultant / CEO @ WORK BOLD

    ✅Did my post help answer your question or solve your problem? Please help the Community by marking it as the accepted answer. It will make it easier for others to find a solution or help to answer!

    Best,

    Andrée Starå

    Workflow Consultant / CEO @ WORK BOLD

  • edited 01/23/20

    The only question I have is what am I placing in the end of the formula where you type "; @cell"? I've seen this a lot in the forums and just don't know what it refers to.

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

    @cell looks at all the cells in the range.

    More info:


    Remember! Did my post help answer your question or solve your problem? Please help the Community by marking it as the accepted answer. It will make it easier for others to find a solution or help to answer!

    Best,

    Andrée Starå

    Workflow Consultant / CEO @ WORK BOLD

Sign In or Register to comment.