When using LibreOffice Calc 4.2.8 I've found a bug concerning the formula "countif" ("cont.se" in portuguese). The outcome is logical rather than a number, as I see the system is reading it as an "IF" formula.
4.2.8 version is outdated. Please give a try to a more recent LO version (last stable one is 5.0.4 or brand new 5.1.0)
More likely the cell is formatted to boolean instead of number, check the applied number format.
(In reply to Eike Rathke from comment #2) > More likely the cell is formatted to boolean instead of number, check the > applied number format. Eike Rathke, you're right, my problem was the cell format! thanks! (In reply to Julien Nabet from comment #1) > 4.2.8 version is outdated. Please give a try to a more recent LO version > (last stable one is 5.0.4 or brand new 5.1.0) I've just updated the suite. thanks!
Thank you for your feedback, let's put this one as NOTABUG.