Does this "generally" give the correct result? If so, what should the result be if both are numbers?
=IF(F2=FALSE,E2,F2)