COUNTIFS always returns 0

I can't get my COUNTIFS equation to work, it always just returns 0, can anybody help?

=COUNTIFS([Column A]@row, "None", [Column B]@row, "None", [Column C]@row, "None", [Column D]@row, "None", [Column E]@row, "None", [Column F]@row, "None")

Best Answer

  • Protonsponge
    Protonsponge ✭✭✭✭✭✭
    Answer ✓

    Hello @Sarahh - Are you looking to count if "None" appears in any of the columns A-F? You formula as written will only count if "None" appears in Column A, B, C, D, E and F.

    The following formula might work for you which sum the total if columns A-F equal "None"

    =COUNTIF([Column A]@row, "None") + COUNTIF([Column B]@row, "None") + COUNTIF([Column C]@row, "None") + COUNTIF([Column D]@row, "None") + COUNTIF([Column D]@row, "None") + COUNTIF([Column E]@row, "None") + COUNTIF([Column F]@row, "None")

    All seems to be working in the demo below,

    I hope that is helpful to you in someway,

    Protonspounge

Answers

  • Protonsponge
    Protonsponge ✭✭✭✭✭✭
    Answer ✓

    Hello @Sarahh - Are you looking to count if "None" appears in any of the columns A-F? You formula as written will only count if "None" appears in Column A, B, C, D, E and F.

    The following formula might work for you which sum the total if columns A-F equal "None"

    =COUNTIF([Column A]@row, "None") + COUNTIF([Column B]@row, "None") + COUNTIF([Column C]@row, "None") + COUNTIF([Column D]@row, "None") + COUNTIF([Column D]@row, "None") + COUNTIF([Column E]@row, "None") + COUNTIF([Column F]@row, "None")

    All seems to be working in the demo below,

    I hope that is helpful to you in someway,

    Protonspounge

  • Sarahh
    Sarahh ✭✭✭

    It's worked thanks Protonspounge!

    Sarah

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!