Forum Discussion
Preview in Formula Bar Showing Different Value than Cell
Hello,
When I hover my cursor over the formula in the formula bar (in 365 online excel), a speach bubble pops up and it gives me a preview of the results of the formula. The preview gives a value of 1. This is the correct value. When I hit enter, the actual cell shows a value of zero. This is not correct.
The preview is showing the correct value which tells me the formula is correct. But why isn't the actual cell displaying the correct value?
Has this occured to anyone else? What did you do?
Thank you, in advanced, for your help.
1 Reply
- m_tarlerBronze Contributor
willynilly21 In order to give you more useful response we really need to know the exact formula you have and what the sheet is saying and ideal just have a copy of that sheet uploaded for us to look at. It is very hard to speculate what is going on but I will throw a couple of things out there.
One possibility is that when you hover you are only see the result of part of the calculation. For example:
=SIN(PI()/2)*3
if you hover over the SIN you will get an answer of 1 but that is only for SIN(PI()/2) and doesn't include the *3. You can highlight the contents of the whole formula and hover to see if you still get only 1.
Another option is to use the Excel Labs plug in which has a debug feature that will 'walk' through the calculation:
This shows the drop down for plug ins and the plug in you need to install. Then in the side bar select the "Advanced formula environment" and you will get something like this:
note I had to chang PI() to RADIANS(180/2) because the tool apparently didn't like PI()