To avoid getting your formulas messed up, you can lock the cells that contain formulas while keeping all other cells unlocked in your Microsoft Excel spreadsheets. We’ll show you how to do just that.
By default, when you protect your worksheet, Excel locks all the cells in your sheet and not just the ones containing formulas. To get around that, you’ll have to first unlock all your cells, select the cells containing formulas, and then lock these cells with formulas.
In your spreadsheet, select all cells by pressing Ctrl+A (Windows) or Command+A (Mac). Then right-click any one cell and choose “Format Cells.”
To do that, in Excel’s ribbon at the top, click the “Home” tab. Then, from the “Editing” section, choose Find & Select > Go to Special.
On the “Format Cells” window, access the “Protection” tab. Then enable the “Locked” option and click “OK.”
In the “Review” tab, click the “Protect Sheet” option.