This shortcut will close Excel.
On a Mac, you can use Command + Q to quit almost any application.
On Windows, you can use Alt + F4 for Excel. Also, you can press ALT + F followed by the X key.
Get over 200 Excel shortcuts for Windows and Mac in one handy PDF.
Quick, clean, and to the point.