excel number that repeats itself into a list code example Example: repeat number sequence in excel =MOD(A1,4)+1