Countifs with OR
I feel like I almost have it:
=COUNTIFS({MMES},"0", @cell), {Disease Extent}, OR(CONTAINS("Proctitis", @cell), (CONTAINS("No disease activity", @cell)
Count if the column titled MMES has "0" and the column titled Disease Extent has "Proctitis" OR has "No disease activity"
HELP!
Answers
-
The issue is actually with the first part. You do not need the "@cell" reference or the closing parenthesis there.
=COUNTIFS({MMES},"0",
@cell), {Disease Extent}, OR(CONTAINS("Proctitis", @cell), CONTAINS("No disease activity", @cell)))=COUNTIFS({MMES},"0", {Disease Extent}, OR(CONTAINS("Proctitis", @cell), CONTAINS("No disease activity", @cell)))
-
Thank you!!
-
Happy to help. 👍️
-
Is there a small tweak I could add to the above statement to NOT count if the value in another column is "Screen Fail"?
-
You would simply add another range/criteria set.
{Range}, @cell <> "Screen Fail"
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.5K Get Help
- 448 Global Discussions
- 145 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!