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.5K Get Help
- 448 Global Discussions
- 145 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!