Need help with CountIF formula referencing two columns on another sheet with an OR statement
Current attempt:
=COUNTIFS({Sheet Name - Standard}, CONTAINS("UM", @cell), {Sheet Name - Annual}, OR("yes", "add"))
The gist is, another sheet, Sheet Name, has a column, Standard, and a column Annual, and for every Standard that is UM, we want to count if the Annual column contains "Yes" or "Add". There is a third option in the annual column "No" that is present along with Add at times, but is irrelevant to the count. Meaning if that cell has No and Add, we still want to count it.
Any help is appreciated, and it must be a formula, we looked into reports and were directed that is not what is desired.
Best Answer
-
Try this:
=COUNTIFS({2023 Corporate Accreditation - STD}, CONTAINS("UM", @cell), {2023 Corporate Accreditation - Annual}, OR(CONTAINS("yes", @cell), CONTAINS("add", @cell)))
Answers
-
Updating as I keep tinkering, new current formula:
=COUNTIFS({2023 Corporate Accreditation - STD}, CONTAINS("UM", @cell), {2023 Corporate Accreditation - Annual}, CONTAINS(OR("yes", "add"), @cell))
-
Try this:
=COUNTIFS({2023 Corporate Accreditation - STD}, CONTAINS("UM", @cell), {2023 Corporate Accreditation - Annual}, OR(CONTAINS("yes", @cell), CONTAINS("add", @cell)))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!