• Ad and Jeff, thanks for your answer.

    The solution presented in this article is superb.

    But before I could implement it (I had to make a Tally table and the function) the user decided to another outcome (in an Excel report). I had to add an extra column with the parameter numbers in it. So the user could select the wanted numbers in Excel in stead of in a given parameter-list.

    So I didn't use the given solution. But next time I will 😉