I am currently generating a distinct list from a list with duplicates using:
=IFERROR(INDEX(C15:C50, MATCH(0, INDEX(COUNTIF(D50:D50, C15:C50), 0, 0), 0)), "")
However, when the source list changes, the entries of the distinct list will (potentially) reorder. This is messing up another purpose...