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!
-
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.7K Get Help
- 438 Global Discussions
- 152 Industry Talk
- 497 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 509 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!