Try in H4 copied down
=IF(AND(G4<> {"base",""}), G4, IF((COUNTIFS($C$4:$C$23,C4, $G$4:$G$23, "Base")+COUNTIFS($C$4:$C$23,C4, $G$4:$G$23, ""))=COUNTIF($C$4:$C$23, C4), IF(C3=C4,"","No WC"),""))
You didn't put anything in H16 and I think that should have "No WC" If not, explain.
Bookmarks