Formula to count # of "Yes" in a single cell
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
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!