Sorry, that should have been

=IF(COUNT(G20:H20)<>2,"",IF(H20<=G20,"Yes","No"))

You didn't answer my question though. For each of the scenarios you listed in post #6 what were the values in G20 AND H20