COUNTIF using multiple criteria
I am trying (what I thought was a simple formula) to countif using multiple criteria. I have a drop-down column. I want to calculate the number of "yes" and number of "Maybe - Depending on caseload" for the CHILDREN.
I am using: =COUNTIF(CHILDREN(), "Yes", [CHILDREN(), "Maybe - Depending on my caseload"]) but it doesn't work. Where is my error? When I remove the second criteria it calculates the "yes" perfectly. I am certain this is a error in how I put in the second criteria but I'm not seeing it.
Thank you for any help you all can provide!
Best Answers
-
I don't believe there is a way to COUNTIF based on multiple criteria in Smartsheet (I've tried before to somehow get OR to work). To get around this, I just make it a simple addition problem:
=COUNTIF(CHILDREN(), "Yes") + COUNTIF(CHILDREN(), "Maybe - Depending on my caseload")
Jason Tarpinian - Sevan Technology
Smartsheet Aligned Partner
-
THANK YOU Jason Tarpinian! Your suggestion worked perfectly!
Answers
-
I don't believe there is a way to COUNTIF based on multiple criteria in Smartsheet (I've tried before to somehow get OR to work). To get around this, I just make it a simple addition problem:
=COUNTIF(CHILDREN(), "Yes") + COUNTIF(CHILDREN(), "Maybe - Depending on my caseload")
Jason Tarpinian - Sevan Technology
Smartsheet Aligned Partner
-
THANK YOU Jason Tarpinian! Your suggestion worked perfectly!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!