Alternately mix DATA in MS EXCEL

Viewed 215

I have one csv file which contains 10.000 rows. The 2.000 rows have the value "EXPL_1". The 3.000 rows have the value "EXPL_2". The 2.500 rows have the value "EXPL_3". The 1.500 rows have the value "EXPL_4". The 2.000 rows have the value "EXPL_5".

I am searching a function which will mix (re-sort) alternately the values and will continue to mix them until to finish.

So the final result will be something like:

EXPL_1,
EXPL_2,
EXPL_3,
EXPL_4,
EXPL_5,
EXPL_1,
EXPL_2,
EXPL_3,
EXPL_4,
EXPL_5,
.......... (x times repeat)
EXPL_1,
EXPL_2,
EXPL_3,
EXPL_5,    (*EXPL_4 values finished but continue to alternately mix the rest)  

*The values are sorted by name (1st all EXPL_1, 2nd all EXPL_2 etc) *Maybe in the future will appear more values. *I know how many values I have in the list.

4 Answers
Related