COUNTIFS/OR/CONTAINS

MazU
MazU ✭✭✭✭✭

Hello all

I am trying to create a formula to imitate the following filter login in another sheet

i am trying to pull a single figure via a countifs function from 5 different columns

if any one of the 5 columns have a yes, that would count as 1

can anyone advise how i can pull this please ?

@Paul Newcome @Genevieve P. your input would always be appreciative as well




Tags:

Answers

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    I would suggest a helper column on the source sheet that will output a 1 in any row containing "Yes" in at least one of those columns and then use a SUM function on the separate sheet to get the total from the helper column.


    =IF(OR([Column1]@row = "Yes", [Column2]@row = "Yes", ........................), 1)


    =SUM({Source Sheet Helper Column})

    Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!

    CERTIFIED SMARTSHEET PLATINUM PARTNER

    10xViz.com

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!