I am using a Count formula to count the specific team who owns a task. I have three different teams

Deborah Berwaldt
Deborah Berwaldt ✭✭✭
edited 05/27/25 in Smartsheet Basics

I want to count the number of tasks for each team member. I keep getting the same answer for each team which is not accurate even though I have indicated in the formula which team I am asking to count.

Best Answer

  • SSFeatures
    SSFeatures ✭✭✭✭✭✭
    Answer ✓

    Hi @Deborah Berwaldt, it sounds like you're using a dropdown to assign team members to the task, and your dropdown can have multiple options selected.

    In this case, you should use the COUNTIFS with CONTAINS, to check if the cell contains the option that you're checking.

    For example:

    =COUNTIFS({Ref}, CONTAINS("OARS", @cell))
    

    And then another one for the other option:

    =COUNTIFS({Ref}, CONTAINS("Facilities", @cell))
    

    In this screenshot, I have a formula that counts the number of times that each team is found in my reference sheet.

    Screenshot from 2025-05-27 09-40-05.png Screenshot from 2025-05-27 09-40-00.png

    This is the formula I used:

    =COUNTIFS({Source1 Column2}, CONTAINS(Assignee@row, @cell))
    

    I hope this helps!

    Nathan Braun (Founder of SSFeatures) (nathan@ssfeatures.com) (LinkedIn)

    SSFeatures makes Smartsheet way easier to use and it saves you hours of work every week. It adds essential features into Smartsheet to save you time. For example: — Auto Sorting — Sorting with Filters — Report PDF Generation — Copy and Paste Conditional Formats — Copy and Paste Automation Workflows — Column Manager — and so many more.

Answers

  • Cayla Davis
    Cayla Davis ✭✭✭✭
    edited 05/27/25

    What is the formula that you are using right now? Are you looking to count team members or the individual teams?

    Cayla Davis | Technology Strategy and Optimization Manager
    Halifax, Nova Scotia, Canada

  • Thank you, but I actually just figured out that it should be a COUNTIF formula. But have another question, how do I count for a cell that has two team members assigned to the task. This is what I came up with for this but it does not calculate the number. =COUNTIFS({sheet reference OARS + Facilities}, "OARS", {Sheet reference OARS + Facilities}, "Facilities")

  • SSFeatures
    SSFeatures ✭✭✭✭✭✭
    Answer ✓

    Hi @Deborah Berwaldt, it sounds like you're using a dropdown to assign team members to the task, and your dropdown can have multiple options selected.

    In this case, you should use the COUNTIFS with CONTAINS, to check if the cell contains the option that you're checking.

    For example:

    =COUNTIFS({Ref}, CONTAINS("OARS", @cell))
    

    And then another one for the other option:

    =COUNTIFS({Ref}, CONTAINS("Facilities", @cell))
    

    In this screenshot, I have a formula that counts the number of times that each team is found in my reference sheet.

    Screenshot from 2025-05-27 09-40-05.png Screenshot from 2025-05-27 09-40-00.png

    This is the formula I used:

    =COUNTIFS({Source1 Column2}, CONTAINS(Assignee@row, @cell))
    

    I hope this helps!

    Nathan Braun (Founder of SSFeatures) (nathan@ssfeatures.com) (LinkedIn)

    SSFeatures makes Smartsheet way easier to use and it saves you hours of work every week. It adds essential features into Smartsheet to save you time. For example: — Auto Sorting — Sorting with Filters — Report PDF Generation — Copy and Paste Conditional Formats — Copy and Paste Automation Workflows — Column Manager — and so many more.