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.2K Get Help
- 445 Global Discussions
- 142 Industry Talk
- 473 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!