Navigation
Hiding a formula is a simple way to do this so that others can’t able to see which
formula you have used and how they get calculated.
Now the question is, how can we hide a formula in a cell in Excel.
But before we do that let’s be clear on this point that there two way to see a formula
from a cell, rst, by editing a cell, and second, from the formula bar.
Is there any way which you can use for preventing both of the things? Yes, it’s there.
https://excelchamps.com/blog/hide-formula/?utm_source=PG&utm_medium=email&utm_campaign=how_to_hide_formula_in_excel&utm_term=… 1/16
8/28/2019 How to Hide Formula in Excel from Formula Bar
In Excel, there is a simple way for this and today, I’d like to share with you this simple
trick.
Quick Navigation
At this point when you click on a cell, it shows you the entire formula in the formula
bar.
First of all, you need to make sure that your worksheet in unprotected.
https://excelchamps.com/blog/hide-formula/?utm_source=PG&utm_medium=email&utm_campaign=how_to_hide_formula_in_excel&utm_term=… 2/16
8/28/2019 How to Hide Formula in Excel from Formula Bar
If you have “Protect Sheet” button there that means your worksheet is unprotected. In
that case, skip above steps and start from here.
Now, select the cell or range of cell, or select all the non-contiguous cells where you
want to hide formulas.
In protection tab, you have two check boxes to mark, rst locked and second is
hidden.
https://excelchamps.com/blog/hide-formula/?utm_source=PG&utm_medium=email&utm_campaign=how_to_hide_formula_in_excel&utm_term=… 3/16
8/28/2019 How to Hide Formula in Excel from Formula Bar
These both options which you have checked solve your both of the problems which we
Locked option restricts editing of a cell and hidden option hides a formula from the
formula bar.
https://excelchamps.com/blog/hide-formula/?utm_source=PG&utm_medium=email&utm_campaign=how_to_hide_formula_in_excel&utm_term=… 4/16
8/28/2019 How to Hide Formula in Excel from Formula Bar
Now all the cell which you had selected got formula hidden from the formula bar.
If you send this le to someone they will not able to see the formula or edit it unless
this worksheet is unprotected.
Once you protect a le using above steps even you can’t see formula until you
unprotect worksheet.
https://excelchamps.com/blog/hide-formula/?utm_source=PG&utm_medium=email&utm_campaign=how_to_hide_formula_in_excel&utm_term=… 5/16
8/28/2019 How to Hide Formula in Excel from Formula Bar
But if you just want to nd them from a protected worksheet where they are, you can
use “Go To Special” option.
Go to Home Tab -> Editing -> Find & Select -> Go to Special.
Select “Formulas” option and it’s all four sub option (Numbers, Text, Logicals, Errors)
and click OK.
Once you click OK, it Excel will select all the cell from worksheet where you have
formulas.
Conclusion
This option not only helps you to hide formula but also helps if you have any crucial
calculation which you want to hide from others.
Until someone has the password, formulas are hidden and safe. I hope you this tip will
help you to manage your worksheets.
Have you ever tried to hide a formula before? Please share your views with me in
the comment section, I’d love to hear from you.
Share Tweet
https://excelchamps.com/blog/hide-formula/?utm_source=PG&utm_medium=email&utm_campaign=how_to_hide_formula_in_excel&utm_term=… 6/16
8/28/2019 How to Hide Formula in Excel from Formula Bar
Puneet Gogia
Puneet is using Excel since his college days. He helped thousands of people to understand the
power of the spreadsheets and learn Microsoft Excel. You can find him online, tweeting about
28 thoughts
Leave a Comment
https://excelchamps.com/blog/hide-formula/?utm_source=PG&utm_medium=email&utm_campaign=how_to_hide_formula_in_excel&utm_term=… 7/16
8/28/2019 How to Hide Formula in Excel from Formula Bar
Name *
Email *
Website
Post Comment
Richard
27 Aug, 19 at 2:12 pm | Reply
This is really helpful and although I’ve been asking myself this question for a
number of years have never realised that such a straight-forward solution was
available. Thanks again – you are brilliant!
Rakesh
27 Aug, 19 at 6:11 am | Reply
Thanks again
https://excelchamps.com/blog/hide-formula/?utm_source=PG&utm_medium=email&utm_campaign=how_to_hide_formula_in_excel&utm_term=… 8/16
8/28/2019 How to Hide Formula in Excel from Formula Bar
Henry Risoni
27 Aug, 19 at 12:07 am | Reply
Hi Puneet,
Thanks a lot for this trick, i just learn this from you, i haven’t done before.
Henry
sandeep kothari
26 Aug, 19 at 11:11 pm | Reply
This is wonderful!
Please give the macro / VBA code which runs at the opening of the workbook
and hide formula bar.
Seyi
13 Aug, 19 at 12:23 am | Reply
sudhakar
20 Mar, 19 at 1:29 pm | Reply
https://excelchamps.com/blog/hide-formula/?utm_source=PG&utm_medium=email&utm_campaign=how_to_hide_formula_in_excel&utm_term=… 9/16
8/28/2019 How to Hide Formula in Excel from Formula Bar
Ramesh
20 Mar, 19 at 4:29 am | Reply
Giri Kumar
19 Mar, 19 at 10:45 pm | Reply
Jayesh
19 Mar, 19 at 9:53 pm | Reply
KTO
19 Mar, 19 at 6:57 pm | Reply
I send out many reports. I set it up to run a macro to copy > paste special >
values and save as le name + date before it is attached to the email. That way I
https://excelchamps.com/blog/hide-formula/?utm_source=PG&utm_medium=email&utm_campaign=how_to_hide_formula_in_excel&utm_term… 10/16
8/28/2019 How to Hide Formula in Excel from Formula Bar
can always nd the issue date when someone has a question and the formulas
are no longer a problem.
sandeep kothari
26 Aug, 19 at 11:13 pm | Reply
TILOTTAMA
4 Dec, 18 at 5:06 am | Reply
Michel
21 Aug, 18 at 7:35 pm | Reply
ARIF CHIMANWALA
20 Aug, 18 at 4:44 pm | Reply
https://excelchamps.com/blog/hide-formula/?utm_source=PG&utm_medium=email&utm_campaign=how_to_hide_formula_in_excel&utm_term… 11/16
8/28/2019 How to Hide Formula in Excel from Formula Bar
Very useful
Krupesh Daiya
17 Jan, 18 at 1:53 pm | Reply
I had wanted to hide formulas in excel but didn’t know how. I had given up on
this.
Puneet
17 Jan, 18 at 7:32 pm | Reply
Sandeep Bhargava
22 May, 19 at 6:42 pm | Reply
Michael,
;;; have 2 issues
1. It will hide the text in the cell then what the person will read to whom
report has been sent.
2. If the person whom report is sent knows this trick he will be able to read
your formula and can change it too
https://excelchamps.com/blog/hide-formula/?utm_source=PG&utm_medium=email&utm_campaign=how_to_hide_formula_in_excel&utm_term… 12/16
8/28/2019 How to Hide Formula in Excel from Formula Bar
Sarfraz Ali
11 Jan, 18 at 6:36 am | Reply
Puneet
17 Jan, 18 at 7:32 pm | Reply
Yup. 🙂
Raman Girdhar
6 Sep, 17 at 4:50 am | Reply
Puneet
6 Sep, 17 at 5:03 am | Reply
The problem comes up when we protect our worksheet. In that case, we can’t
https://excelchamps.com/blog/hide-formula/?utm_source=PG&utm_medium=email&utm_campaign=how_to_hide_formula_in_excel&utm_term… 13/16
8/28/2019 How to Hide Formula in Excel from Formula Bar
SANDEEP BHARGAVA
31 Aug, 17 at 4:26 pm | Reply
Yes I normally use this formula hiding option in almost all of my sheets from last
5-6 years. It is quite useful feature the only issue is to remember so many
passwords.
If their is any way to decode the password if forgotten?
Puneet
1 Sep, 17 at 8:07 am | Reply
application.formulabar.display = false
note: means if user selects a cell rather than
Puneet
6 Sep, 17 at 5:04 am | Reply
https://excelchamps.com/blog/hide-formula/?utm_source=PG&utm_medium=email&utm_campaign=how_to_hide_formula_in_excel&utm_term… 14/16
8/28/2019 How to Hide Formula in Excel from Formula Bar
Sandeep Bhargava
22 May, 19 at 6:45 pm
Michael,
;;; have 2 issues
1. It will hide the text in the cell then what the person will read to whom
report has been sent.
2. If the person whom report is sent knows this trick he will be able to read
your formula and can change it too
sandeep kothari
26 Aug, 19 at 11:25 pm | Reply
or
Application.FormulaBarHeight = false
https://excelchamps.com/blog/hide-formula/?utm_source=PG&utm_medium=email&utm_campaign=how_to_hide_formula_in_excel&utm_term… 15/16
8/28/2019 How to Hide Formula in Excel from Formula Bar
© ExcelChamps 2019
https://excelchamps.com/blog/hide-formula/?utm_source=PG&utm_medium=email&utm_campaign=how_to_hide_formula_in_excel&utm_term… 16/16