Cell AJ14 needs to display the text letter X, text letter E, or remain blank based on the following:

If FC4=X then AJ14 needs to be X.
If FC4 is blank AND FE4 and FQ4 are both X, or FE4 and FL4 are both X, then AJ14 needs to be E.

Thanks for any help!
Tom