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
- 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!