How to Hide Formulas in Excel until Data Is Entered (2 Methods)

In this article, we’ll discuss how to hide formulas in Excel until data is entered. In our daily calculations, this will enable you to protect the formulas from a serious error or data loss caused by any accidental and unexpected changes by the users. Let’s follow the complete guide to learn all of this.


How to Hide Formulas in Excel Until Data Is Entered: 2 Methods

1. Hide All Formulas in Excel

Once we hide the cells containing formulas, no one won’t be able to see and edit the cells containing formulas.

Here, I am going to use a data set containing formulas in Cell C11 and Cell C12.

Hide All Formulas in Excel

In the following screenshot, you can see the average in Cell C12.

 calculate average to Hide Formulas in Excel until Data Is Entered

To hide the formula in Cell C11 and Cell C12, you can use the following steps.

Steps

  •  First of all, Right-click the cell or range of cells, then Select Format cells or press Ctrl+1. When the Format Cells dialog box appears, click on the Protection tab and after that check, that the boxes tab is locked and hidden, then click on OK.

  •  Next, Go to the Review tab in the Excel ribbon and click on Protect Sheet. This step is very important in hiding the formula because the above formula remains ineffective until you protect the sheet.

 Protect the Sheet to Hide Formulas in Excel until Data Is Entered

  • When the Protect Sheet dialog box appears, type the password to protect the sheet.  Once you protect the worksheet, no one except the real user can unprotect the sheet make changes to it, and then click on OK.

 Type password to Hide Formulas in Excel until Data Is Entered

  • When the Confirm Password dialog box appears, re-enter the password, which will help you to prevent an error in the password from locking the spreadsheet forever. Click on OK.

Reenter password to Hide Formulas in Excel until Data Is Entered

  • If the sheet is protected, the formula of the active cell will not be shown in the formula bar. Thus the formulas in the cells are protected cause neither can be seen or edited. In the following screenshot, we can’t see the formula of Cell C11.

Hide the total value

  • In the following screenshot, you can’t see the formula of Cell C12.

  • Whenever you try to make changes to the protected sheet,  you will see the following message.

The user who has no password can click on the cell but can not make changes to the content of the sheet because you protect the worksheet. First, make the protected sheet unprotected to make changes in the cells.


2. How to Hide Formulas Only in Excel Keeping Other Cells Editable

In the previous method, we learned how to protect the entire worksheet. Now, we will learn how to protect the cell containing formulas and make sure that other cells are editable. As a result, the user will be able to edit the other cells’ values.

Now, I am going to use a data set containing formulas in Cell C11 and Cell C12.

Now, you can see the Total from the screenshot:

How to Hide Formulas Only in Excel Keeping Other Cells Editable

Here, you can see the Average from the screenshot:

calculate the average

To hide formulas where other cells are editable, you can use the following steps.

Steps

  • Firstly, by selecting all the cells in the worksheet in Excel, click on the Home tab, then click on the Find & Select option. after that, Click on the “Go to Special” option. When the Go to Special dialogue box appears, click on the Formulas option which will select all the cells containing the formula in them.

  • Right-click the cell or range of cells. Select Format cells or press Ctrl+1. Once the Format Cells dialog box appears, click on the Protection tab and check the boxes for locked and hidden, then click on OK.

locked the cell

  • Then select the other cells except the cells containing formulas.

keep the Other Cells Editable

  • Then again right-click the cell or range of cells. Select Format cells or press Ctrl+1.Once the Format Cells dialog box appears, click on the Protection tab and uncheck the boxes for tab locked and hidden, then click on OK.

uncheck locked option

  • Go to the Review tab in the Excel ribbon. Click on Protect Sheet (similar to method 1). This step is very important in hiding the formula because the above formula remains ineffective until you protect the sheet.

  • When the Protect Sheet dialog box appears (similar to method 1), type the password to protect the sheet.  Once you protect the worksheet, no one except the real user can unprotect the sheet make changes to it, and then click OK.

enter password to Hide Formulas Only in Excel Keeping Other Cells Editable

  • When the Confirm Password dialog box appears, re-enter the password, which will help you to prevent an error in the password from locking the spreadsheet, and click on OK.

  • Now you will be able to change the cells data except for formulas cells. Therefore, you will have to change Cell C11 and Cell C12 values By editing the other cells. Here, we can see that when we change the value of Cell C7, the value of Cell C12 automatically changes.

show the output

Read More: How to Hide Formulas and Display Values in Excel


Download Practice Workbook

Download this practice workbook to exercise while you are reading this article. Here, for an unprotected Excel sheet, you can use the password 1055.


Conclusion

That’s the end of today’s session. I strongly believe from now you may hide the formulas in Excel until data is entered. If you have any queries or recommendations, please share them in the comments section below. Keep learning new methods and keep growing!


Related Articles


<< Go Back to Hide Excel Formulas | Excel Formulas | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Saquib Ahmad Shuvo
Saquib Ahmad Shuvo

Saquib Ahmad Bhuiyan, holding a BSc degree in Naval Architecture & Marine Engineering from Bangladesh University of Engineering and Technology, skillfully integrates engineering expertise with a passion for Excel. He provides solutions to complex issues as an Excel & VBA Content Developer for ExcelDemy Forum. He demonstrates an enthusiastic mindset and adeptness in managing critical situations with finesse, showcasing his commitment to excellence. Apart from creating Excel tutorials, he is interested in Data Analysis with MS Excel, Rhinoceros,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo