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?
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
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:
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.
You are guest
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 11 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.· 2 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.· 5 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.· 2 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.