How to lock only formulas in excel and it should take input values?
Answers
When you create a worksheet, sometimes you need to use some formulas, and you don’t want other users to change, edit or delete the formulas. The easiest and most common way of preventing people from playing with your formulas is to lock and protect cells which contain formulas in your worksheet. Please go to lock and protect the formulas as follows
1. Select the whole worksheet with Ctrl + A, and right click, choose Format Cells from the context menu.
2. And a Format Cells dialog box will pop out. Click Protection, and unchecked the Locked option. Click OK. The whole worksheet has been unlocked.
3. Then click Home > Find & Select > Go To Special, and a Go To Special dialog box will appear. Check Formulas from Select option, and then click OK. See screenshot:
4. All of the cells which contain formulas will be selected.
5. Then go to lock the select cells. Right click on the selected cells, and choose Format Cells from the context menu, and a Format Cells dialog box will display. Click Protection, check the Locked checkbox. See screenshot:
6. And then click Review > Protect Sheet, and a Protect Sheet dialog box will pop out, you can enter the password in the Passwordto unprotect sheet box. See screenshot:
7. Then click OK. And another Confirm Password dialog box will appear. Reenter your password. And click OK.