Apache OpenOffice (AOO) Bugzilla – Issue 104175
Ref to blank cell behaves differently than Excel
Last modified: 2013-03-25 11:19:35 UTC
In Excel, a cell whose formula is a cell reference to a blank cell will have a value of zero. The value of this cell compares "not equal" to an empty string. In OpenOffice Calc, a cell whose formula is a cell reference to a blank cell will have some kind of hybrid value which looks like zero but also compares "equal" to an empty string.
Created attachment 64083 [details] This spreadsheet demonstrates the problem: Cell B3 shows "TRUE" in OpenOffice Calc and "FALSE" in Excel. All other cells display the same value in both applications.
IMO, OOo works well. Because B1 =A1, A1="", so I can induce B1 ="" B3 =B1="", So, B3=TRUE
Created attachment 64087 [details] Updated test case which also shows the behaviour of =""
amy2008 how would you explain the value in cell B2 then? I have uploaded an example with an additional column (D) with D1 containing the formula ="" so that you can see how B1 behaves differently than an empty string.
to luke_d, >amy2008 how would you explain the value in cell B2 then? I have checked your second attachment, I know what you said exactly. But I don't know why 0 in B1, so I can't explain the value in B2.
Regardless of Excel, inconsistent logic by AOO: If A2 and B1 and B3 return TRUE and 0, blank=zero But if C3 returns FALSE (like Excel), blank is not equal to zero Contradiction! Rev 1400866 and Excel.
Excel 2010...