You should also look up the Case function in Filemaker help as it may help you simplify the number of If functions in your expression.
reverse your approach. Don't look for text, look for emptiness.
If [ LastName = "" ; etc.
Some also prefer:
If [ IsEmpty (LastName) ; etc.
or the reverse,
If [ not IsEmpty (LastName) ; etc.