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 ?
 

Some videos you may like

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

c_m

Well-known Member
Joined
May 29, 2008
Messages
836
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.
 

PRIMA

Well-known Member
Joined
Oct 12, 2008
Messages
554
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
 

joy_666

Board Regular
Joined
Dec 10, 2008
Messages
121

ADVERTISEMENT

Hi Prima,

You can protect the sheet and specify the columns to be protected.....
 

c_m

Well-known Member
Joined
May 29, 2008
Messages
836
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:

nanda_kishore

New Member
Joined
Mar 13, 2009
Messages
4

ADVERTISEMENT

well, I want the formula to remain in the cell,but it should not be visible. Let me try protecting the sheet.
 

nanda_kishore

New Member
Joined
Mar 13, 2009
Messages
4
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 -->
 

Watch MrExcel Video

Forum statistics

Threads
1,122,519
Messages
5,596,635
Members
414,083
Latest member
Mrsash

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
Top