This document explains how to recover a lost formula bar in Microsoft Excel.
On the ribbon, click on View
Then make sure Formula Bar is checked inside of the Show section
On the ribbon, click on View
Then make sure Formula Bar is checked inside of the Show/Hide section
Go into Tools -> Options.
On the View tab, under the Show category, select the checkbox next to Formula Bar.