Countif except N/A's

I have two columns that I'm trying to build a countif function for. First column has a value: A,B,C. Second column is checkboxes with N/A if the team member is not required to complete. End result I would like to get a final count of all the A's that are required to complete the training.


=countifs(columnA:columnA, "A", columnB:columnB, <> "N/A")

Best Answer

  • Bassam Khalil
    Bassam Khalil ✭✭✭✭✭✭
    Answer ✓

    Hi @Rayme

    Hope you are fine, please try the following formula:

    =IFERROR(COUNTIFS(columnA:columnA, @cell = "A", columnB:columnB, NOT(@cell = "N/A")), "") 
    

    the following screenshot shows the result:


    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"

Answers

  • Bassam Khalil
    Bassam Khalil ✭✭✭✭✭✭
    Answer ✓

    Hi @Rayme

    Hope you are fine, please try the following formula:

    =IFERROR(COUNTIFS(columnA:columnA, @cell = "A", columnB:columnB, NOT(@cell = "N/A")), "") 
    

    the following screenshot shows the result:


    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"

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!