How to include formula to perform a count from the keyword in the row and update the count?

Angeline Lai
Angeline Lai ✭✭
edited 02/26/21 in Formulas and Functions

Hi expert,

Not too sure if this is supported within the function. I have a used case below,

I need tester to input their test result in name assigned in the column (Col E-G).

Once they input the status = "P" or "F", the Column 'Total Pass' and 'Total Fail' will do the count base on the condition keyword P or F in each row and populate the number in the column B & Column C. Refer below sample.

Kindly advise. Many Thanks!


Best Answer

  • Mark Cronk
    Mark Cronk ✭✭✭✭✭✭
    Answer ✓

    Try:

    Total pass is: =COUNTIFS(TESTER1:TESTER3, "P")

    Total fail is: =COUNTIFS(TESTER1:TESTER3, "F")

    Total Incomplete is: =COUNTIFS(TESTER1:TESTER3, IS BLANK(@cell))

    Help?

    Mark


    I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.

Answers

  • Mark Cronk
    Mark Cronk ✭✭✭✭✭✭
    Answer ✓

    Try:

    Total pass is: =COUNTIFS(TESTER1:TESTER3, "P")

    Total fail is: =COUNTIFS(TESTER1:TESTER3, "F")

    Total Incomplete is: =COUNTIFS(TESTER1:TESTER3, IS BLANK(@cell))

    Help?

    Mark


    I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.

  • HI Mark,

    Thanks for the swift response! Is working with slight tweak in the syntax! You save my day! 🤩

    =COUNTIF([Tester1]@row:[Tester5]@row, "P")

    =COUNTIF([Tester1]@row:[Tester5]@row, "F")

    =COUNTIFS([Tester1]@row:[Tester5]@row, ISBLANK(@cell))

  • Mark Cronk
    Mark Cronk ✭✭✭✭✭✭

    Glad to help. Thank you for contributing to the Community.

    Mark


    I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!