Follow these steps to lock cells in a spreadsheet:
- Select the cells you want to lock.
- On the Home tab, in the Alignment group, click the small arrow to open the Format Cells pop-up window.
- On the “Protection” tab, check the “Blocked” box and then click “OK” to close the pop-up window.
How do I constrain a cell to a specific value?
Restrict data entry
- Select the cells in which you want to restrict data entry.
- On the Data tab, under Tools, click Validate. …
- From the Allow context menu, select the type of data you want to allow.
- From the Data pop-up menu, select the type of throttling criteria you want, and then enter the throttling values.
How to create a maximum value in Excel?
How to create a MAX formula in Excel
- In a cell, type =MAX (
- Use the mouse to select a range of numbers.
- Type the closing Parentheses.
- Press Enter to complete your formula.
How to set a maximum cell value in Excel?
Select a cell where you will place the formula, type: =MaX(20,(SUM(A5:A10))), A5:A10 is the range of cells you are summing and press the Enter key.