The Formula Bar in Excel sits directly above the worksheet area, to the right of the Name Box. The formula bar can be used to edit the content of any cell and can be expanded to show multiple lines for the same formula (example, shortcut for toggling).

For an example of editing a long formula in an expanded formula bar, watch this video.