Count Topics by Request Across Sheets – COUNTIF Formula Returning 0
Answers
-
Hi, I have a similar issue. I tried to replicate this, but referencing another sheet. I have a tracker sheet and want to count topics by request, and one request could cover multiple topics. I now want to have a count by topic. I tried this formular:
=COUNTIF({Customer Inquiries & Requirements - Impact Range 1}, HAS({Customer Inquiries & Requirements - Impact Range 1}, [Primary Column]@row)),
but it always gives me "0"
What did I do wrong? Thanks a lot!
-
It could be the way your have referenced the range to look in. Swap out the second range reference to @cell
=COUNTIF({Customer Inquiries & Requirements - Impact Range 1}, HAS(@cell, [Primary Column]@row))
Or, if the topics are not multi-select, you should use CONTAINS rather then HAS (also using @cell)
=COUNTIF({Customer Inquiries & Requirements - Impact Range 1}, CONTAINS([Primary Column]@row, @cell))
CONTAINS will look in a string for a match. HAS will only look for a complete match.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!