I trying to get my formula to count 2 different results...
In sheet2
In sheet 2 column A are names and in B are results e.g
Chris "PASS"
Chris "FAIL"
If chris has a PASS and a Fail result, then my formula will give "STOP" if not then blank
I have tried write it but need help?
=IF(T5>0,"CLEAR",IF(AND(COUNT(Sheet2!$A$2:$A$5000,"Chris")+COUNT(Sheet2!$B$2:$B$5000,PASS+FAIL)=1,H5>0,STOP,"")
In sheet2
In sheet 2 column A are names and in B are results e.g
Chris "PASS"
Chris "FAIL"
If chris has a PASS and a Fail result, then my formula will give "STOP" if not then blank
I have tried write it but need help?
=IF(T5>0,"CLEAR",IF(AND(COUNT(Sheet2!$A$2:$A$5000,"Chris")+COUNT(Sheet2!$B$2:$B$5000,PASS+FAIL)=1,H5>0,STOP,"")