Copy a selection and insert it to the bottom(n times) Excel

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Copy a selection and insert it to the bottom(n times) Excel



Suppose I have a template



a,a,a,a,a,a,a
b,b,b,b,b,b,b
c,c,c,c,c,c,c



I want to repeat this block n times.



let's say I want to repeat 3 times so n = 3.



a,a,a,a,a,a,a
b,b,b,b,b,b,b
c,c,c,c,c,c,c



a,a,a,a,a,a,a
b,b,b,b,b,b,b
c,c,c,c,c,c,c



a,a,a,a,a,a,a
b,b,b,b,b,b,b
c,c,c,c,c,c,c





OK, let's say that. Where are you stuck?
– Roland
33 mins ago





Look into For Loops
– QHarr
31 mins ago





Have you tried using record macro?
– Solar Mike
25 mins ago




1 Answer
1



Well lets say you would use Reduce. With mtcars as example dataset


Reduce


mtcars


Reduce(rbind,rep(list(mtcars),3))






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Visual Studio Code: How to configure includePath for better IntelliSense results

Spring cloud config client Could not locate PropertySource

Regex - How to capture all iterations of a repeating pattern?