How do I get a field populated based on another field being populated?

I want a field to auto change to a yes or no depending on a date field is populated. If there is a date in the date field the other field will show "yes", and if the date field is not populated then the other field will show "no".

I'm not the best at coding but I think it would be an ifelse statement in the calculated value.