Data Protection Issues

How to Protect Excel Formulas and Use a Digital Signature in WPS Office Spreadsheets

Chanuka GeekiyanageChanuka Geekiyanage Nov 13, 2026 871 views

Question details

The user wants to lock and hide Excel formula cells so they cannot be viewed or edited, then apply a digital signature to verify the workbook's integrity after all edits are complete.

How to Protect Excel Formulas and Use a Digital Signature in WPS Office Spreadsheets
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
Preparing an Excel-compatible workbook with sensitive formulas for protected sharing and signed distribution.
Observed behavior
Formula cells are currently visible or editable, and the workbook lacks a valid digital signature because the signing workflow is planned after edits.
Before you start

Make sure all workbook edits are complete before applying the digital signature, because changes after signing can invalidate it. Identify the formula cells you want to protect so you can select them before opening the Format Cells dialog.

Solution 1Recommended

Hide and Lock Formula Cells Before Protecting the Worksheet

Use this when you want to prevent users from viewing or editing formulas in a WPS Office spreadsheet while allowing other cells to be used normally.

Worksheet protection only takes effect after the sheet is protected. Cells marked as Locked and Hidden will not show their formulas in the formula bar while protection is active.

1
Select the formula cells

Open the workbook in WPS Office Spreadsheets, then select all formula cells. Press Ctrl+G, click Special, choose Formulas, and click OK to select every formula at once.

2
Enable Locked and Hidden in Format Cells

Right-click the selected cells and choose Format Cells, or press Ctrl+1. In the Format Cells dialog, open the Protection tab, check Locked and Hidden, and click OK.

3
Protect the worksheet with a password

Go to the Review tab and click Protect Sheet. Enter a password, confirm it, choose the actions you want to allow for other users, and click OK.

4
Verify the formulas are protected

Click a protected formula cell and check the formula bar. The formula should stay hidden, and editing should be blocked until the sheet is unprotected.

Hide and Lock Formula Cells Before Protecting the Worksheet
Protection is active: Hidden formulas remain hidden only while the worksheet is protected. If you unprotect the sheet, the Locked and Hidden settings still exist but are not enforced until you protect it again.

Protect Formulas and Sign Workbooks in WPS Office Spreadsheets

You can hide and lock formula cells, protect the worksheet with a password, and add a digital signature to the completed workbook directly in WPS Office Spreadsheets.

  1. 1. Open your Excel workbook: Launch WPS Office, click Spreadsheets, and open the .xlsx file that contains the formulas you want to protect.
  2. 2. Lock and hide formula cells: Select the formula cells, right-click, choose Format Cells > Protection, and enable Locked and Hidden.
  3. 3. Protect the worksheet: Go to the Review tab, click Protect Sheet, set a password, and click OK.
  4. 4. Finalize and sign the workbook: After all edits, go to File > Info > Protect Workbook and choose Add a Digital Signature to sign the completed file.
  5. 5. Save and share the signed workbook: Save the workbook in WPS Office Spreadsheets format or Excel .xlsx format and share it with confidence.
Locks and hides sensitive formulas so other users cannot see or change the calculation logic.Keeps full compatibility with Microsoft Excel .xlsx files, including formulas and data protection settings.Provides a familiar ribbon interface for Protect Sheet and digital signature commands.Lightweight and free to download, so you can open, edit, and secure Excel workbooks without extra cost.
microsoft office alternative - wps office

Frequently Asked Questions

Will worksheet protection hide my formulas completely?

Yes, if you enable both Locked and Hidden on the formula cells and then protect the worksheet. The formula bar will not show the formula, and users cannot edit the cell without unprotecting the sheet.

Why does my digital signature become invalid after I change the workbook?

A digital signature verifies that the file has not changed since signing. After you edit or save the signed workbook, WPS Office or Excel may remove or invalidate the signature. Apply the signature after all edits are complete.

Can I apply a digital signature before protecting formulas?

It is better to protect formulas and complete every edit first. If you sign first and then make changes, the signature can become invalid, so sign only after the worksheet protection is finalized.

What is the difference between worksheet protection and a digital signature?

Worksheet protection controls which cells can be edited and whether formulas are visible. A digital signature confirms the file's authenticity and integrity but does not hide formulas or restrict editing by itself.

Do I need a digital certificate to sign a WPS Office spreadsheet?

Yes, you normally need a digital certificate from a certificate authority or your organization. If the Add a Digital Signature command is unavailable, check that a valid certificate is installed in your system.