To check which version of Java you have on your Windows computer, you'll need to open the Command Prompt.
To add a formula in Google Sheets, click the cell where you want the answer, then choose one of the hundreds of functions.