Click here to Skip to main content
15,446,232 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to view the formula in an Excel sheet, But it just shows the value but not the formula. Is there any way to do this?[^]

I want to check the cell which calculates Azimuth.
Updated 1-May-12 5:02am

In Excel 2007, under Formulas Tab there is toggle button Show Formulas to show or hide formulas in the Worksheet. The key board short cut is CTRL + ` and in Excel2003 it is under Tools->Options->View->Formulas Check box.
It is explained here[^]
I think it may be helpful.
Share this answer
Sumal.V 1-May-12 11:20am    
But I cannot change because it is in compatibility mode. How do I change that?
VJ Reddy 1-May-12 11:22am    
I have checked in Excel 2007, the Show Formulas button works in Compatibility mode also.
Sumal.V 1-May-12 11:23am    
Can U please try that with the link above? because I cannot view :(
VJ Reddy 1-May-12 11:37am    
I have checked. First Circular reference error was shown. After that the sheet was opened. The Show Formulas button is working. Since, there are no formulas the formulas could not be seen. Since the worksheet is protected formulas could not be entered for checking. But for example in cell E8 05.373" is displayed and the value is 5.3732220696519 as seen in the formula bar. When the Show Formulas button is clicked 5.3732220696519 is shown E8 cell instead of 05.373", similarly the values in other are shown.
Sumal.V 1-May-12 11:52am     CRLF
Yeah and so the formula cannot be viewed. :( But Thanks for your time :)
You have to first unprotect the sheet but then when I went to Edit, Go To, Special (still in Excel 2003) and chose Formulas it said there were none.
Share this answer
Sumal.V 1-May-12 11:08am     CRLF
Yeah I tried unprotecting the the sheet, but its just the values but not formula. Thanks for updating.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900