I'm trying to combine these two formulas:
=SUMPRODUCT((LEN(AS2:AS212)-LEN(SUBSTITUTE(AS2:AS212,"Yes","")))/LEN("Yes"))
=countif(b2:b212="*vermilion*")
Basically, the first formula counts the number of "Yes" in one column, but I need it to only count the "Yes" if another column has "vermilion" in it.
Here's what part of my spreadsheet:
<tbody>
</tbody>
Does anyone know how to do this? I've been working on this for 8 hours!!!
=SUMPRODUCT((LEN(AS2:AS212)-LEN(SUBSTITUTE(AS2:AS212,"Yes","")))/LEN("Yes"))
=countif(b2:b212="*vermilion*")
Basically, the first formula counts the number of "Yes" in one column, but I need it to only count the "Yes" if another column has "vermilion" in it.
Here's what part of my spreadsheet:
Column B | Column AS | |
Vermilion High School | Yes, Yes, | |
Memorial | Yes, No, Yes | |
South Western | Yes, Yes, Yes, Yes, No |
<tbody>
</tbody>
Does anyone know how to do this? I've been working on this for 8 hours!!!