When you enter a formula in a cell in Excel everyone can see it in the formula bar when you click on the respective cell. This tip shows how to hide your formula from others and still keep the worksheet usable, by performing the following steps:

  1. Select all cells (either press Ctrl+A or click on the small upper left square on the edge of the worksheet)
  2. Right click the mouse and select Format Cells …
  3. In the popup menu that opens, click on the Protection tab (it should be the last one on the menu)
  4. Deselect the small box tagged Locked
  5. Click on OK. Now all your cells can be overwritten, regardless the protection status of the worksheet.
  6. Select only the cells containing formulas that you want to hide (If you need to perform multiple selection, you can press and hold down the Ctrl key, while clicking on each cell you want to select)
  7. Right click the mouse and select Format Cells …
  8. In the popup menu that opens, click on the Protection tab
  9. Tick the small box tagged Hidden and the Locked box as well. If you don’t tick the Locked box, other users of your worksheet would be able to overwrite the formula cells, without even knowing that they contain formulas (as they become invisible following this operation).
  10. Click on OK
  11. Go to the Tab Review and then click on Changes … Protect Sheet
  12. If you want, you can input a password for unlocking the worksheet. This will prevent others from unlocking it. If you don’t want to do that, leave the password field blank and press OK.
  13. Now click on one of your cells containing formulas and look at the formula bar. It should be empty, although the formula is still there. The cell would remain locked, but it would be automatically updated when changing the content of its precedents relating to the contained formula.

This is an Excel 2007 update of the tip here: http://www.alltipsandtricks.com/how-to-hide-formulas-in-ms-excel/

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.