One cell based on whether 10 out of 12 other cells is green?

Viewed 19

I'm trying to track my school attendance with Google Sheets. I need any 10 attendances out of 12, and I want to show in one cell whether I meet that criteria. Is there a way to format that, aka 10 out of the 12 previous cells in a column is green/has "yes" etc.?

1 Answers

Use this formula

=COUNTIF(B2:B13, "=Yes")&"/"&COUNTA(B2:B13)

enter image description here

Or this

=IF(COUNTIF(B2:B13, "=Yes")>=10,"Criteria met", "Criteria not met")

enter image description here

Related