How to lock formulas in Excel - Protect excel formulas
There are many ways to protect Excel files, depending on each person's needs, such as setting a password for the entire Excel file, setting a password for Excel sheets so others cannot edit them, or just setting a security key for the formula. in Excel file only.
When you set an Excel formula lock, others cannot edit the formula, copy or delete the formula, but other content can still be edited at will. The article below will guide you how to lock formulas in Excel.
1. Instructions for protecting formulas in Excel
Step 1:
Open the Excel file with the formula to lock the formula. Select the entire spreadsheet then click the Home tab , select Format and click Format Cells…
Step 2:
The Format Cells dialog box appears, click on the Protection tab and then uncheck the Locked option below. Click OK to save.
Step 3:
Return to the spreadsheet, hover over any cell, click the Home tab and select Find & Select in the Editing group. Click on Go to Special. in the list that appears.
Step 4:
In the Go To Special dialog box , select Formulas and then click OK to agree.
Now the cells with formulas on the Excel file will be marked as shown below.
Step 5:
Keep cells with selected formulas intact in the content. Next click on the Home tab then select Format and select Format Cells. . In Format Cells, select Locked and then click OK.
Step 6:
We click on the Review tab and then click Protect Sheet .
In the Protect Sheet dialog box, we perform the following operations:
- Password to unprotect sheet: Set a password for the formula. This password will require entry if you want to remove the formula protection feature in Excel.
- Select locked cells: Uncheck this option.
You will then be asked to re-enter the password you set. Finally click OK to save.
When you return to the table, you will see that the formula icon does not appear in the cell using the formula like before. When clicking on the cell, the used formula is not displayed. Other people will not be able to know and edit that formula. Areas outside the formula can still be customized as usual.
2. How to unlock Excel formulas
Step 1:
To remove the formula locking feature in Excel, click the Review tab and then select Unprotect Sheet .
Step 2:
Enter the correct formula password that the user previously set up. Click OK.
Finally, the data cell using the formula is displayed again and when you click on that cell, the formula will appear above.
A great way to protect certain content on an Excel file, but other content can still be edited as usual. When an Excel formula is locked, viewers cannot click on the formula cell and edit it. This will limit the situation of editing and deleting formulas in Excel.
Wishing you success!
You should read it
- How to use PDF Anti-copy to protect PDF files
- How to hide formulas in Excel
- How to compare 2 Excel files to see if there is any difference
- Simple way to convert Excel files to PDF
- How to fix Errors were detected while saving files in Excel 2010
- How to retrieve unsaved Excel files, restore unsaved Excel files
- How to use Money in Excel, a free and secure money management tool
- How to print Excel on an A4 page
- Applications that read Excel files on iPhone / iPad quality
- Delete Files on Mac - Empty Trash or Secure Empty Trash?
- Simple way to convert Excel files to PDF - Convert directly or use software
- Types of data hiding in Excel - Part end: Hide Excel Files
Maybe you are interested
Difference between function and formula in Excel
1 degree C equals how many degrees F, degrees K? standard conversion formula
Formula for combining Golden Pan DTCL season 13, TFT Mobile 14.23
Basic functions in Excel, calculation formulas and illustrative examples
Common calculation functions in Excel, formulas and examples
Learn how to fix Excel errors showing formulas not displaying results