Insert 2 new columns, G & H.
Enter the formula In G2:
=IF(E2="",F2,E2)
For the rows where E and F contain values, duplicate this formula. The addresses for the cells will automatically change.
Copy all the cells in G and Paste Values into H. Now remove columns E, F & G.