Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Which formula do I need if I want to count issues assigned to 2 people that are counted for each ind

Hi everyone,

I am fairly new to Smartsheet and this is my first question in this community!

I have an Issue Tracker where issues can be assigned to multiple people. On one of the charts on my dashboard I am showing how many Issues are assigned to each individual. I have a formula that counts if an issue is assigned to 1 individual. For example: =COUNTIFS({Issue Type}, "ISSUE", {Assigned To}, "Tom Smith")

I the occasion where issue/task is assigned to 2 or more people I need a formula that would count that issue and add it to all individuals assigned, and I can't figure it out. So for example if 1 issues is assigned to Tom and Donna, I need this same issue to count for Tom AND Donna. Does anyone have an idea how to solve this?

This were two of my failed attempts:

=COUNTIFS({Issue Type}, "ISSUE", {Assigned To}, "Tom Smith") + COUNTIFS({Issue Type}, "ISSUE", {Assigned To}, "*Tom Smith*")

=COUNTIFS({Issue Type}, "ISSUE", {Assigned To}, "Tom Smith") + COUNTIFS({Issue Type}, "ISSUE", {Assigned To}, "*Tom Smith*,*")

Answers

  • Community Champion

    @LeaVol

    I just have a couple of questions to better build you the proper solution. First would be have you attempted using the OR function. Secondly could we get a screen shot of what your working with for some more context. YOu can clean this of any sensitive information. Third. When you are assigning something to multiple people. IS it from a mult-select drop down?

    If you found this comment helpful. Please respond with any of the buttons below. Awesome🖤, Insightful💡, Upvote⬆️, or accepted answer. Not only will this help others searching for the same answer, but help me as well. Thank you.

  • ✭✭

    Hi @Mark.poole, thank you for getting back to me! I apologize for my late reply.

    To answer your questions

    • No, I have not tried using the OR function.
    • Yes, when assigning to multiple people, it is a multi-select dropdown: this is the sheet that I want to use then for the graph:

    Let me know if you need other visuals or if I need to explain the case better.

    Thank you for your help in advance!

  • Community Champion
    edited 07/18/24

    Hi @LeaVol,

    No worries about timing.

    Try using the CONTAINS or HAS functions for each person.

    =COUNTIFS({Issue Type}, "ISSUE", {Assigned To}, HAS(@cell, "Tom Smith"))

    or

    =COUNTIFS({Issue Type}, "ISSUE", {Assigned To}, CONTAINS(@cell, "Tom Smith"))

    The difference between the two is HAS looks for exact spelling. while CONTAINS just looks for the string.

    ex.

    Andy

    And

    HAS(@cell, "And") would only count And.

    CONTAINS(@cell, "And") would count both Andy and And

    If you found this comment helpful. Please respond with any of the buttons below. Awesome🖤, Insightful💡, Upvote⬆️, or accepted answer. Not only will this help others searching for the same answer, but help me as well. Thank you.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions

  • I'm trying to create a SUMIF formula that looks at the salesperson name in a column and adds up or totals their $ sales in another column. To ultimately show in Dashboard of Totals Sales by Salesperso…
    User: "Allan Z"
    Answered ✓
    9
    2
  • Good day Smartsheet Team, Getting an unparseable error on this formula: =IF($Name@row <> "",(SUMIFS({Expense}, {Period},1, {Type}, OR(@cell = "RES602782", @cell = "RES602497")),"") Trying to pull in a…
    User: "stratman"
    Answered ✓
    15
    2
  • I have a sheet that compiles all the responses from a form. The sheet has multiple start and end date columns, but only one start and one end date cell is NOT blank depending on the activity selected …
    User: "m_anderson"
    Answered ✓
    13
    2