COUNTIFS from multiple sheets

I need to COUNTIFS from multiple sheets. I am using 3 sheets for this and the formula is in the Total sheet.

  • The sheets are named:
    • Total
    • Service Support KPI - Q2
    • Service Support KPI - Q3
  • I need it to look at a column in each Service Support sheet called Tech.
  • I need it to:
    • Compare to the Tech column in the Total sheet to the Tech column in the Service Support sheets
    • Or use CONTAINS
  • Then return a value of the total number of the tech from both Service Support sheets.


Here is the formula I am trying to use:

=COUNTIFS({Service Support KPI - Q2 Range 1}, CONTAINS([Tech Name]@row) + COUNTIFS({Service Support KPI - Q3 Range 1}, CONTAINS([Tech Name]@row)))

I keep getting an #INCORRECT ARGUMENT error.


Thanks in advance.

Answers

  • Bassam Khalil
    Bassam Khalil ✭✭✭✭✭✭

    Hi @Justin Mauzy 

    Hope you are fine, the formula need to be rectified.Please add a copy of your sheet or a screenshot (after removing or replacing any sensitive information). This will make it easier for me to provide the appropriate answer to your question.

    Or if you like me to fix the formula directly on your sheet please share me as an admin on a sample copy of your sheets ( Source & Destination ) and i will Create the exact formula for you then you can copy it to your original sheet.


    My Email for sharing : Bassam.k@mobilproject.it

    PMP Certified

    bassam.khalil2009@gmail.com

    ☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    It looks like you just have a misplaced parenthesis. You forgot to close out the first COUNTIFS before adding the second. Try this...

    =COUNTIFS({Service Support KPI - Q2 Range 1}, CONTAINS([Tech Name]@row)) + COUNTIFS({Service Support KPI - Q3 Range 1}, CONTAINS([Tech Name]@row))

    Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!

    CERTIFIED SMARTSHEET PLATINUM PARTNER

    10xViz.com

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

    Hi @Justin Mauzy

    I hope you're well and safe!

    I'd be happy to take a quick look.

    Can you describe your process in more detail and maybe share the sheet(s)/copies of the sheet(s) or some screenshots? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, andree@workbold.com)

    I hope that helps!

    Be safe and have a fantastic day!

    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 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.

  • Justin Mauzy
    Justin Mauzy ✭✭✭✭✭
    edited 08/25/21

    Here are the screenshots:

    Service Support KPI sheet: The column is TECH.


    Total Sheet:


    The formula is in the Total Issues column on the Total sheet.


    • I need the formula to look at the Tech column in multiple sheets (Service Support KPI - Q2 and Service Support KPI - Q3)
    • I would like to compare it with the Tech Name column in the Total Sheet.
    • If the Tech column in the Service Support KPI sheet matches the Tech Name column in the Total sheet, I would like it to count it.
    • I will need to look at several other sheets to pull a total count.


    Thank you in advance.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!