Loading data from a .xls file COUNTIF works only if the condition is defined in the selected range. A condition defined in a different cell or within the formula does not work. example A B 1 1 1 2 3 4 COUNTIF(A1:A5;1) => 0 -> wrong COUNTIF(A1:A5;B1) => 0 -> wrong COUNTIF(A1:A5;&B1) => ### -> wrong COUNTIF(A1:A5;A1) => 2 -> correct When I add a separate ranges manually COUNTIF works correct This seems to be a character encoding problem Also loading the data from a csv file ISO-8859-15 encoded COUNTIF works correct
Please can you attach a sample file to test?
seems to be fixed in Version: 5.4.0.3 I cannot reproduce this behaviour