How can I write a countif formula formula for a cell that contains multiple entries?
I have been struggling to get a countifs formula to match what I've created on a report so that I can display it on a dashboard.
I want to count the number of times our team has had a call on specific topic with our clients. In some cases the conversation covers multiple topics and we log what was covered on the call over the last 30 days. The countifs formula won't count a cell with multiple entries. I've tried using a contains function but I always get an #unparseable error.
Suggestions?
The current formula looks like this:
=COUNTIFS({M&A Program Interest} CONTAINS("Buyer Consult", {M&A Program Interest}), {M&A Intake Form Range 1}, @cell > TODAY(-31)))
Thanks
Answers
-
You are missing a comma between the first range and first criteria, and the "range" portion of the CONTAINS function should be "@cell" (without the quotes).
-
I am still getting the error message when my formula looks like this:
=COUNTIFS({M&A Program Interest}, CONTAINS("Buyer Consult", @cell), {M&A Intake Form Range 1}, @cell > TODAY(-31)))
Is this what you meant?
-
It looks like you also have one too many closing parenthesis on the end.
-
Ohh simple mistake. Thanks!
-
Happy to help. 👍️
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!