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
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66K Get Help
- 429 Global Discussions
- 147 Industry Talk
- 487 Announcements
- 5.2K Ideas & Feature Requests
- 86 Brandfolder
- 152 Just for fun
- 74 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!