You can easily create a drop-down list in Excel to limit the values that can be entered in a column. Here's how to set one up ...
To add a formula in Google Sheets, click the cell where you want the answer, then choose one of the hundreds of functions.