I was trying to extract unique data from a list and I came across something strange. Below you'll find a screenshot with the translated formulas next to the cells (because my Excel isn't in English).
This is 3 times the same schedule, with only one change in cell B5.
Since COUNTIF($B$1:B4;$A$2:$A$9)=0 is a Boolean formula, this should return either TRUE or FALSE, no other options. So I changed it once to TRUE and once to FALSE.
But when I change it to TRUE, the result changes from h45 to h3, and when I change is to FALSE, the result changes to #DIV/0 (as expected).
How is it possible that TRUE returns h3 yet COUNTIF($B$1:B4;$A$2:$A$9)=0, which is TRUE, returns h45?
EDIT: I just noticed I forgot to change $A$2:$A$9 at the end of the formulas, but since the data isn't changed this really doesn't matter.