1
=AND(SUMIF($F$9:$F, $F9, $G$9:$G) <> 0,REGEXMATCH($F9, "RES"))