I have entries in columns as follows:
Col1 Col2 Col3 Col4 Col5
1 0 0 1 0
As you see, 1 repeats at every 3rd position after "1 in Col1". I want to write a code that if I type "4" then 1 should repeat at every 4th position...and if I write 2 then it should repeat at every 2nd position...
Example output: I type in a cell: "4"
Col1 Col2 Col3 Col4 Col5
1 0 0 0 1
Note: I dont know how to create tables in StackOverflow, any help there would be great too :(
Thanks!!