Solved
Werner_EAnswer
25-Diamond I
March 27, 2018
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.
