Apache OpenOffice (AOO) Bugzilla – Issue 65109
sumif does not recognize empty cells paraphrased with ""
Last modified: 2006-05-09 16:54:44 UTC
I am trying to sum the cells with keys equal to a constant string. With an empty string as a pattern it fails: empty cell is not equal to an empty string. M$ Excel calculates it properly
Created attachment 36283 [details] Demonstrates wrong count of empty cells
Of course the "" often is used to paraphrase "nothing", but currently I can't see any evidence that OOo should recognize empty cells with description "", so "OOo internal" it seems to work "as designed". But, if EXCEL really recognizes and counts empty cells in 'B$1:B$6' using '=SUMMEWENN(B$1:B$6;"";A$1:A$6)', we have an import problem. Unfortunately my knowledge is too poor for a final decision. Currently I do not have any Idea how to describe "empty cell" in a formula.
more meaningful summary
We have a WONTFIX _ui_ issue 13702 for this, but I blieve for EXCEL import affairs this should be checked again.
I am not sure I can agree that an empty cell should not be equal to "". Even if I try to insert a string of zero characters into a cell, the result is the same. I see this is a duplicate to number of issues I have not found myself, but the resolution WONTFIX seems doubtful.
I see some relation to issue 50331 @plavrov: May be you should VOTE for this issue ?!
In issue 11273 you will find a workaround Replace your dondition "" by ">""" and Sumif will count as you need - may be, some day I will understand, why :-/ My be the EXCEL import filter can do that replacement?
Thanks. If I knew about the COUNTBLANK, it would be easier for me. :-) ">""" is worse as it is still incompatible with Excel.
Created consolidation issue 65221. *** This issue has been marked as a duplicate of 65221 ***
Closing dupe.