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
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!