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
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!