- Press CTRL + ` (grave accent).
Prevent a formula from displaying in the formula bar
Caution This procedure also prevents the cells that contain the formula from being edited.
- Select the range of cells whose formulas you want to hide. You can also select nonadjacent ranges or the entire sheet.
- On the Format menu, click Cells, and then click the Protection tab.
- Select the Hidden check box.
- Click OK.
- On the Tools menu, point to Protection, and then click Protect Sheet.
- Make sure the Protect worksheet and contents of locked cells check box is selected.
Show formulas that were previously hidden by removing protection
- If the workbook is shared, unshare it.
Note Unsharing the workbook deletes the change history. If you want to keep a copy of this information, print out the History worksheet or copy it to another workbook.
-
On the Tools menu, point to Track Changes, and then click Highlight Changes.
-
In the When box, click All.
-
Clear the Who and Where check boxes.
-
Select the List changes on a new sheet check box, and then click OK.
-
Do one or more of the following:
-
To print the History worksheet, click Print .
-
To copy the history to another workbook, select the cells you want to copy, click Copy , switch to another workbook, click where you want the copy to go, and click Paste .
-
Note You may also want to save or print the current version of the workbook, because this history might not apply to later versions. For example, cell locations, including row numbers, in the copied history may no longer be current.
-
On the Tools menu, click Share Workbook, and then click the Editing tab.
- Make sure that you are the only person listed in the Who has this workbook open now box.
- Clear the Allow changes by more than one user at the same time check box.
- When prompted about the effects on other users, click Yes.
-
-
On the Tools menu, point to Protection, and then click Unprotect Sheet.
- Select the range of cells whose formulas you want to unhide.
- On the Format menu, click Cells, and then click the Protection tab.
- Clear the Hidden check box.