You can use Excel, Microsoft's spreadsheet program, to store, organize, and analyze data in a number of ways.
To add a formula in Google Sheets, click the cell where you want the answer, then choose one of the hundreds of functions.