How to Hide Formulas in Excel

If you just need to hide formulas in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel: select the cells, press Ctrl+1 and tick Hidden on the Protection tab, then turn on Review ▸ Protect Sheet — the results stay visible but the formula bar shows nothing; if the sheet is only showing formulas instead of results, press Ctrl+` to switch that view off.

On this page7
▤Annotated stepsExcel
1

Select the cells whose formulas should not be visible (Home ▸ Find & Select ▸ Formulas selects every formula cell).

2

Press Ctrl+1 (Format Cells), open the Protection tab and tick Hidden.

3

Click OK, then choose Review ▸ Protect Sheet and optionally set a password.

4

Click a formula cell: the cell shows the result and the formula bar stays empty.

5

To edit the formulas later, choose Review ▸ Unprotect Sheet.

Ctrl+CthenCtrl+Shift+V⌘+Cthen⌘+Ctrl+VPaste values · WindowsMac

What this does

Hiding formulas means the cell still shows its result, but selecting it no longer reveals the formula in the formula bar. The Hidden setting on the Protection tab of Format Cells does that, and like Locked it has no effect until the sheet is protected. It is different from Show Formulas (Ctrl+`), which only switches the whole sheet between showing formulas and results. Microsoft describes sheet protection as a way to prevent accidental changes, not as a security feature, so it will not keep formulas secret from a determined user. Before you run it on a workbook other people depend on, try it on a copy or a few rows first. Undo only reaches back through the current session, so a quick trial run is the cheapest way to see exactly what will change before the file is saved and shared. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “hide formulas in excel”. Start on a copy or a tiny sample, keep the affected formula visible, and compare the result with the outcome you expected before you touch the real workbook. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. The point is a calculation you can defend to a CFO or an auditor, but the practical win is that someone else can open the file and understand what happened without asking you.

A worked example

D2:D20 calculates a margin with =(B2-C2)/B2. Select D2:D20, press Ctrl+1, tick Hidden on the Protection tab and click OK, then choose Review ▸ Protect Sheet and OK. D2 still shows 25%, but clicking it leaves the formula bar empty. Review ▸ Unprotect Sheet brings the formula back. Shared templates and reports often need people to see results without editing or copying the calculations behind them. Hidden plus protection keeps the formulas out of the formula bar while the sheet keeps working. When the result is not what you expected, undo straight away rather than repairing it by hand — undo restores the sheet exactly, while manual fixes tend to leave small inconsistencies behind that surface later.

In Google Sheets

This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. If you take one thing from this page on “hide formulas in excel”, make it the order of checks rather than the individual clicks: confirm what is selected, apply the step, and look at the result before moving on. That small routine is what keeps Excel work predictable when the same task comes back in a slightly different workbook.

Common mistakes

  • Ticking Hidden without protecting the sheet, so nothing changes.
  • Using Show Formulas or Ctrl+`, which only switches the view and protects nothing.
  • Protecting the sheet while every cell is still Locked, so nobody can type into the input cells.
  • Treating sheet protection as security for confidential calculations.

Frequently asked questions

Why can I still see the formula after ticking Hidden?

Hidden only takes effect once the sheet is protected. Turn on Review ▸ Protect Sheet.

How do I show formulas instead of results?

That is a different task: press Ctrl+` or use Formulas ▸ Show Formulas to switch the sheet to formula view, and press it again to switch back.

Can other people still type into input cells?

Yes, if you unlock those cells first: select them, press Ctrl+1 and clear Locked on the Protection tab before protecting the sheet.

Other ways people ask this

On the way here you may have searched this as “hide formulas in excel”, “how to hide sheets in excel”, “hide formula in excel” and “how to hide formula in excel” — it is all the same task, and this page is the single, complete answer to it.

Why do people search for this in so many different ways?

Because the same task has many names. “hide formulas in excel”, “how to hide sheets in excel”, “hide formula in excel” all point at the one operation explained on this page, which is why they all lead here.