I am trying to use COUNTIF to count a certain word (from a multi-select dropdown) in a column
The formula I tried to use isn't working to read what I need it to...
Using =COUNTIF({Q1 - Strengths}, "Accountability") hasn't done it correctly.
I used =COUNTM({Q1 - Strengths}, "Accountability") but it counts everything in column, not only the word/title I need it to.
Answers
-
Try: =COUNTIF({Q1 - Strengths}, FIND("Accountability", @cell) >= 1)
-
I would suggest using the HAS function for this. Nic's solution will work, but will find any string of text within the cell that says "Accountability". So if there is another strength labeled "Poor Accountability" (what a strength!) the FIND would also count that. The HAS function looks specifically for a string as it exists in the dropdown selections.
=COUNTIFS([Q1 - Strengths]:[Q1 - Strengths], HAS(@cell, "Accountability"))
Jason Tarpinian - Sevan Technology
Smartsheet Aligned Partner
-
Worth a mention that I'm trying to pull the info from a separate sheet.
-
you have to use HAS. I got it to work - try this -
=COUNTIFS([Q1-Strengths]:[Q1-Strengths], HAS(@cell,"Accountability")) (this is if you have named your range. If you name your range, use {named range}
-
Thank you! The suggestions helped me get it to work and pull the right information!
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!