How to count elements that contains part of the string
Mixer
✭✭✭
Hi,
I'm trying to countif elements in the column that starts with a string "apple".
E.g: I have 30 rows with strings like: "red apple" "yello apple" "green apple".
I uses formula Countif(childern(fruits),CONTAINS("apple",children(fruits))) but it doeas not work.
Thanks for help!
Best Answer
-
Try something like this...
=COUNTIFS(CHILDREN(Fruits@row), CONTAINS("apple", @cell))
Answers
-
Try something like this...
=COUNTIFS(CHILDREN(Fruits@row), CONTAINS("apple", @cell))
-
Thank you!
=COUNTIFS(CHILDREN(Fruits), CONTAINS("apple", @cell)) <- This one worked
-
Happy to help! 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!