COUNTIFS with OR and HAS - #INVALID DATA TYPE error

I am trying to count the number of decisions where the impacted workstream is either Enrollment or T&R and status is requires leadership attention. The workstream field is multi choice so a decision can impact one or the other of the workstreams or both, so need to ensure not double counting which is why I need to use OR. I am getting an error message #INVALID DATA TYPE using below formula. Can someone help me understand how to fix this formula?
=COUNTIFS({Decisions}, OR({Workstream}, HAS(@cell, $[Primary Column]$1), {Workstream}, HAS(@cell, $[Primary Column]$2)), {Status}, "Requires Leadership Attention")
Best Answer
-
See below revised formula, let me know if that works.
=COUNTIFS({Decisions}, @cell<>"",{Workstream},OR(HAS(@cell, $[Primary Column]$1),HAS(@cell, $[Primary Column]$2)), {Status}, @cell="Requires Leadership Attention")
Answers
-
See below revised formula, let me know if that works.
=COUNTIFS({Decisions}, @cell<>"",{Workstream},OR(HAS(@cell, $[Primary Column]$1),HAS(@cell, $[Primary Column]$2)), {Status}, @cell="Requires Leadership Attention")
-
Thank you so much! This worked great!
Help Article Resources
Categories
Check out the Formula Handbook template!