How to use a COUNTIF formula to determine how many times a word appears in a multi-select column?
Hi, I have columns that allow users to "select all that apply" however, I want to be able to summarize/count the number of times each value appears.
For Example:
Column: Fruit
Cell 1: Apples, Pears Bananas
Cell 2: Apples, Pears, Oranges
Cell 3: Apples, Oranges, Bananas
Summary:
Apples: 3
Pears: 2
Bananas: 2
Oranges: 2
The formula I am currently using, will only allow count the "apple" value if it is the only value in a cell.
Thank you!
Best Answers
-
Figured it out!
-
@Jeff Reisman Sure!
=COUNTIFS([Fruit]:[Fruit], CONTAINS("Apples", @cell))
Answers
-
Figured it out!
-
If you can, please post your solution here so that others searching the community for the same issue may find it. Thanks!
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
@Jeff Reisman Sure!
=COUNTIFS([Fruit]:[Fruit], CONTAINS("Apples", @cell))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!