Hi!

How about this?

=if(a4="mr.","male","")&if(a4="mrs.","female","")

vishal vodro.