Help with COUNTIF formula

Hi all,

I'm trying to finalize a formula - wondering if anyone can help?

I was successful with the first part of the formula which is this:

=COUNTIF([Departments Involved in Project]:[Departments Involved in Project], CONTAINS("IT", @cell))

The formula above tells me how many projects our IT dept is involved in. I'd like to drill down a bit more to know how many projects IT is involved in that are also department level. I don't know how to add an AND function. There is another column in the same sheet that I would like to reference, so if the column above contains "IT" and the second column is equal to "department level" I'd like to get the result of that. Any suggestions?

=COUNTIF([Departments Involved in Project]:[Departments Involved in Project], CONTAINS("IT", @cell, AND([CU Wide/Dept Level Project]:[CU Wide/Dept Level Project], CONTAINS("Department Level"))))

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!