Thank you so much both of you!!
I was thinking of having 5 sets of sequences, like :
5,4,3,2,1
4,3,2,1,5
3,2,1,5,4
2,1,5,4,3
1,5,4,3,2

Mostly it would amount to the same, but the difference would have come in at the last calculation. then based on the modulus, decide which can fit in.
I also looked into loops, but I didn't have the correct formula. I'm going to try these loops ( by the looks of it, it should do what I need ), then see if I have to add some conditions based on the amount of questions.
Thank you both once again.
Hannes