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.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 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!