EXCEL, REPEAT A SEQUENCE OF NUMBERS MANY TIMES code example Example: repeat number sequence in excel =MOD(A1,4)+1