Solved
Always better to post the worksheet as well as we don't like retyping things.
change "null" to NaN and use filterNaN(array) at the end of your program (instead of just array).
As an alternative after replacing duplicates with "null" you could use trim(array, match("null",array)) at the end.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
