• In your data sample you've got only 6 unique diagnosis codes.

    Are you sure you need to repeat them all over and over again in that row you need to populate?

    Is there any value in preserving the order of appearance of those codes in a row?

    _____________
    Code for TallyGenerator