Apache OpenOffice (AOO) Bugzilla – Issue 22510
problem with NB.SI function
Last modified: 2003-11-17 10:39:18 UTC
When you have ( or ) or [ or ] in a string and you want to count the number of this string with the NB.SI function (NB.IF in english ?), the result are wrong. For example : A B 1 A(N 0 2 (with B2 : =NB.SI(A1:A2;A1) ). And, in fact, the correct result must be 1. I can reproduce the problem on : - WindowsXP, OpenOffice 1.0.1 and 1.1.0 - Windows2k, OpenOffice 1.1.0 - Linux, OpenOffice 1.1.0 All version are the official binaries translated in french. I try also to change the cell format, but the problem is also present. But if you create a file in MS Excel with this function and you import it in OpenOffice, the problem is not present.
The NB.SI function is COUNTIF in english version.
Hi, this is not a bug. The '(' is interpreted as part of a regular expression if you have enabled the option 'allow regular expressions in formulas' undert tools options spreadsheet calculate. If you deselect this option, your formula works as expected by you. Frank
closed worksforme