Hi,

In C2 and copied down,

=IF(COUNTIFS($A$2:$A$4446,A2,$B$2:$B$4446,9)>1,"Ye s","No")