Type X when criteria is match

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
 
M

Mike H

Hi,

Enter this in d2 and drag down

=IF(SUMPRODUCT((B4:D4>=70)*(B4:D4<=79))>0,"X","")

Mike
 
B

barry houdini

If the range to examine is B2:D2 then try

=IF(SUMPRODUCT((B2:D2>=70)*(B2:D2<80)), "X","")
 
D

Dave Peterson

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).
 
Top