There is a chance that you may have accidentally touched a combination of keys, and it might have disabled the Focus Mode feature. To disable the Excel Focus Mode, press the combination keys Alt + V, ...
The Alt+Enter shortcut isn't limited to new formulas you write—you can go back and clean up any messy formulas at any time.