Set-up: I have a data prep sheet that references a master sheet and some other sheets so it is easier to set up a dashboard. I have a list of departments in one column (Column5), and the count formula in the next column. The formula works when there is one department listed in the reference but not if there are multiple departments (it is a drop down list and at most there are two in a cell).
Current Formula:
=COUNTIFS({ActivityMasterRange1}, "Active/Published", {ActivityMasterRange2}, [Column5]@row)
Every way I've added in a contains, has, find function returns it as invalid data type or simply zero. I want the formula to check and make sure the activity is active, then check the department and add a count if the department is present (not the only thing in the cell). Any tips appreciated!