Hi Neeners36,

If you are getting first condition every time... check if H20 is blank
Try below function as an option:-

=IF(ISBLANK(H20),"",IF(H20<=G20,"Yes","No"))

Regards,
DILIPandey

<click on below 'star' if this helps>