Collaborate for free with an online version of Microsoft Excel. Save spreadsheets in OneDrive. Share them with others and work together at the same time. The Excel spreadsheet app lets you create, view, edit, and share your files with others quickly and easily. Create spreadsheets, data analyses, charts, budgets and more while you view and edit workbooks attached to email messages. Edit documents for data analysis, accounting, finance, or any other fields with confidence. When on the go, your data and office move with you. Create charts, run.
To quit (close) a Mac app normally, choose Quit from the app's menu in the menu bar, or press Command (⌘)-Q. If the app doesn't quit, follow these steps to force the app to quit.

How to force an app to quit
Press these three keys together: Option, Command, and Esc (Escape). Or choose Force Quit from the Apple menu in the upper-left corner of your screen. (This is similar to pressing Control-Alt-Delete on a PC.)
Then select the app in the Force Quit window and click Force Quit.
Excel For Mac Opening Multiple Files
You can even force the Finder to quit, if it stops responding: Select Finder in the Force Quit window, then click Relaunch.
Learn more
Excel For Mac Applescript
How to force an app to close on your iPhone, iPad, or iPod touch.