Formula to count # of "Yes" in a single cell

Seyer
✭✭
I am looking for a formula that will help me count the number of "Yes" responses when a cell has multiple line items. Example below:
Single Cell contains:
Initial Screen - Interviewer Name: Yes (01/19/2023)
Interview 1 - Interviewer Name: Yes (02/02/2023)
Interview 2 - Interviewer Name: Yes (02/13/2023)
Interview 3 - Interviewer Name: Scheduled (03/03/2023)
Result to my formula should return 3.
Best Answer
-
@Seyer The best way I've found to do this is to hack it a little by using lengths.
=(LEN([<<column name>>]@row) - LEN(SUBSTITUTE([<<column name>>]@row, "Yes", "")))/3
Answers
-
@Seyer The best way I've found to do this is to hack it a little by using lengths.
=(LEN([<<column name>>]@row) - LEN(SUBSTITUTE([<<column name>>]@row, "Yes", "")))/3
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.5K Get Help
- 433 Global Discussions
- 152 Industry Talk
- 494 Announcements
- 5.3K Ideas & Feature Requests
- 85 Brandfolder
- 155 Just for fun
- 77 Community Job Board
- 506 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 307 Events
- 37 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!