Trouble with COUNTIF CONTAINS Formula
Hi there, I'm trying to build a summary sheet with formulas that COUNTIF cells in a column on another sheet CONTAIN a specific value (this column is multiselect dropdown).
I've come up with things like the following, but am still getting errors.
COUNTIFS({DCYF Impacts}:{DCYF Impacts}, CONTAINS("ASD - Administrative Services Division", @cell))
Where am I going wrong? To clarify, DCYF Impacts is the name of a column on another sheet, and "ASD - Administrative Services Division" is a possible value (multiselect) in that column on this other sheet.
Answers
-
I think this should work (you are defining the remote range incorrectly): COUNTIFS({DCYF Impacts}, CONTAINS("ASD - Administrative Services Division", @cell))
-
Thanks @Adam Murphy. When I use that formula I get the #INVALID REF error. Both sheets are in the same workspace. Any other ideas on what I might be missing?
-
I was able to solve this by the following formula. The only thing I changed was first referencing the other sheet and then selecting the range through the "link to another sheet" hyperlink offered.
=COUNTIFS({ASD Strategic Projects Intake Sheet Range 1}, CONTAINS("ASD - Administrative Services Division", @cell))
-
Glad you got it sorted, yes the formula is the same you just needed to define the cross-sheet reference as you did.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 141 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!