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
- Smartsheet Customer Resources
- 63K Get Help
- 379 Global Discussions
- 213 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!