Hide Formulas

nanda_kishore

New Member
Joined
Mar 13, 2009
Messages
4
I want to hide the formula in a cell, what ever formula I include in a cell, it should display only the value and not the formula itself. Is it possible in excel ?
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
nanda_kishore,
Welcome to the Board.

Try:
right click on cell>>select Format Cells>>go to Protection tab>>Check Hidden>>Click ok>>Then protect your sheet.
By doing this, your formula will be hidden but the calculated value will still be visible.
 
Upvote 0
Hi c m,

Is there a way not protect the sheet? Because, if you will protect your sheet you cannot make any changes in the value or nobody can access your sheet of file.

Your input is highly appreciated.

Thanks.

Prima
 
Upvote 0
As far as I know, I dont think there is another way of hiding formula. If you are concerned about nobody able to make any changes, you can select the cells that you want users to be able to change and uncheck "Locked" from protection tab.

Another way would be to use VBA. Some sort of code that will replace the formula its value. I wouldnt prefer this because then when you change your precedents, the value where you had your formula wont update (or you atleast have to type the formula again). Does that make sense?
 
Last edited:
Upvote 0
Try:
right click on cell>>select Format Cells>>go to Protection tab>>Check Hidden>>Click ok>>Then protect your sheet.
By doing this, your formula will be hidden but the calculated value will still be visible.


this one worked for me !<!-- / message -->
 
Upvote 0

Forum statistics

Threads
1,213,543
Messages
6,114,237
Members
448,555
Latest member
RobertJones1986

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top