Formula: copy to clipboard
=if(or(ao18="",au18=""),"xy",if(ao18<au18,"x","y"))


In the formula above, Y will display if submit date equals start date, as you haven't clarified what to do in those scenarios.