Type X when criteria is match

  • Thread starter Thread starter Rechie
  • Start date Start date
R

Rechie

How can I mark X a particular student in a row where grade range of 70-79 is
visible at any of his subjects (i.e Peter with 76 grade in Math)?

Students Math English Science Average Remarks
John 85 90 80 85
Mark 82 85 92 86
Peter 76 85 87 82 X

Thanks,

Rechie
 
One way:

=IF((COUNTIF(B2:E2,">="&70)-COUNTIF(B2:E2,">="&80))>0,"X","")

Count all the scores bigger than or equal to 70, but subtract the ones that are
too big (bigger than or equal to 80).
 
Back
Top