Click here to Skip to main content
15,041,548 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?

http://www.ga.gov.au/__data/assets/excel_doc/0011/25040/Vincentys-formulae-to-calculate-distance-and-bearing-from-latitude-and-longitude.xls[^]

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

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
http://blog.contextures.com/archives/2009/03/23/show-excel-formulas-instead-of-results/[^]
I think it may be helpful.
   
Comments
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
   
Yeah and so the formula cannot be viewed. :(
But Thanks for your time :)
VJ Reddy 1-May-12 11:59am
   
You're welcome and thank you for the response.
If the solution is helpful, then you may accept and vote the solution.
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.
   
Comments
Sumal.V 1-May-12 11:08am
   
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