To add a formula in Google Sheets, click the cell where you want the answer, then choose one of the hundreds of functions.
To create data bars in Excel, select your cells and then choose data bars from Conditional Formatting.