How to protect worksheet's formatting only in Excel?
Most of us may know how to protect worksheet contents not to be changed, but here, I want others can be able to change the cell values or type in numbers or text, but not mess up the cell formatting which I have applied, such as the Fonts, Background colors and so on. How do you protect the formatting of the worksheet without regarding for the contents?
Recommended Productivity Tools for Excel
Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial
Kutools for Excel: Save 71% of your time and solve 82% Excel problems for you. 300+ advanced tools designed for 1500+ work scenario, make Excel much easy and increase productivity immediately.60-day Unlimited Free Trial
Supposing I have applied the formatting to the range cells as following screenshot shows, and now I will talk about how to protect worksheet's formatting only step by step:
1. Select the range cells that you want others to be able to edit, and then right click and choose Format Cells from the context menu, see screenshot:
2. In the Format Cells dialog box, click Protection tab, and uncheck the Locked option. See screenshot:
3. Click OK to close the dialog box.
4. If you need to allow others to edit multiple ranges in this worksheet, please repeat above step 1-4 as you need.
5. Go on to click Review > Protect Sheet to protect the worksheet, see screenshot:
6. And in the popped out dialog box, make sure the Format cells is unchecked (it is not checked by default), and you needn't change any information in the dialog box, see screenshot:
7. Then click OK, and all the selected cells content can be edited as your need, but the cell formatting can't be modified.
Note: If you want to set a password to protect the sheet, you can enter the password as your need, but if you needn't, just only click OK button in the Protect Sheet dialog box.
If you have Kutools for Excel installed, you can simplify steps to protect current worksheet’s formatting only. Please do as follows:
Kutools for Excel - Combines more than 300 Advanced Functions and Tools for Microsoft Excel
1. Select multiple ranges that you will allow other to edit, and click the Enterprise > Worksheet Design to activate the Design tab, and then click the Selection Unlock button on the Design tab. See screenshot:
Note: Holding the Ctrl keys, you can select multiple non-adjacent ranges by selecting one by one.
Then a dialog box pops out and reminders you selected ranges have been unlocked. Just close it.
2. Click the Design > Protect Sheet or (Review > Protect Sheet) to protect current worksheet.
3. In the opening Protect Sheet dialog box, enter your password, and remember not to check the Format Cells option, and click the OK button. Next reenter your password in the Confirm Password dialog box, and click the OK button.
Recommended Productivity Tools
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
To post as a guest, your comment is unpublished.· 1 months agoSorry, this is not fool proof. If you do the above (through Excel Feature) the formatting is not protected from the cut and paste feature. ex. if you have a row which has a light gray back ground and you cut it and paste it into a white row, the gray background is transferred to the new cells in place of the white.
To post as a guest, your comment is unpublished.· 1 years agoThis also doesn't work if a user enters a currency symbol in the cell. Excel will automatically change the cell's formatting to currency without asking you and no way to prevent it. Even data validation ignores input of currency symbols when instructed to allow numbers only.
To post as a guest, your comment is unpublished.· 4 years agoI followed your instructions for protecting the formatting of a worksheet in excel, but it won't let me refresh the pivot table if the worksheet is protected. I have to un-protect it to refresh and then all my formatting is changed.
How do I keep the formatting and be able to refresh the worksheet?
To post as a guest, your comment is unpublished.· 5 years agoIt does not work when you copy into the cell. Formatting is replaced.
To post as a guest, your comment is unpublished.· 1 years agoThis is my problem - I want to make a tool that people can paste data into without messing up the formatting. Editable cells are light yellow and have conditional formatting and whatnot. Maybe a macro event can force a paste values or something... it's either that or a macro that replaces the correct formatting after any value change.