If / and / contains formula


Trying to get a formula to check an "active" box if two conditions are presents. Essentially when both these if conditions are true.

IF(CONTAINS(Docs@row, {Active Docs}, 1, 0))

IF(CONTAINS([Trade Partner]@row, {Active Clients}, 1, 0))

Trying the below gives me an #INCORRECT ARGUMENT

=IF(AND(CONTAINS(Docs@row, {Active Docs}), CONTAINS([Trade Partner]@row, {Active Clients}), 1, 0))

Would appreciate any help. Thanks!


Best Answer


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!