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.

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

  • Community Champion
    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

  • Community Champion
    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

  • ✭✭✭

    It's worked thanks Protonspounge!

    Sarah

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