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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!