Thanks! I've just tried using the function COUNTIF(Range)-1 and it seems to solve the problem as well - but I don't really understand why it is necessary?