Formula not working - correctly

Options
Ozu
Ozu ✭✭✭
edited 07/05/25 in Formulas and Functions
Screenshot 2025-07-05 154207.png

I tried applying a formula, but the results aren’t coming out correctly. For example, the headset count is showing as 6, whereas there are actually only 3 headsets.

I suspect the issue is due to multiple items being listed in a single cell (e.g., "Headset, Keyboard"). Could someone please confirm if the formula supports multi-select values within a cell, or suggest an alternative approach?

Screenshot 2025-07-05 153434.png Screenshot 2025-07-05 153457.png

Appreciate your help!

Tags:

Best Answer

  • KPH
    KPH Community Champion
    Answer ✓

    Hi

    Your current COUNTIFS will only count rows where the value in Range 6 matches exactly that in the primary column.

    If you use the HAS function, you can count the rows where the value of the primary column is one of the multi selected options.

    https://help.smartsheet.com/function/has

    Replace

    [Primary Column}@cell

    With

    HAS(@cell, [Primary Column}@cell)

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!