Pasting differing, repeating Data down an entire Column

Golem

New Member
Joined
Aug 10, 2017
Messages
4
I need to input data into a column. There are 34 different data sets, but they repeat after 34. All the way to around 3000. What is the best way to do this? I know this is probably simple but I haven't found a way to accomplish this after a lot of searching. I have provided an example below. The data in column A needs to repeat down the rest of the column.

Untitledt6334d.png
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Are you saying you want to copy the values in Rows 1 to 34 of column "A"

And paste those same values into rows 35 to 68 and then into rows 68 to 102

And keep doing this over and over how many times?

About 3000 is not a absolute we deal with absolutes.
 
Last edited:
Upvote 0
Correct, The actual data is in column D. And it will begin in row 2. Then continue until row 35. Then repeat from 36 to 69. Then repeat from 70 to 103. And so on until row 3252. Sorry I wasnt more precise in my OP.
 
Upvote 0
We are copying 34 cells of Data
And you want them copied down till row 3252

Which would mean copy them 95.64 times which I do not know how to do.
Try this script it copies them 95 times.

If you need an exact 95.64 times someone else will have to help you.

Not sure what your doing but try this:
This script copies them to row 3265

Code:
Sub Copy_Down()
Application.ScreenUpdating = False
Dim i As Long
Dim b As Long
b = 36
    For i = 1 To 95
    Range(Cells(2, "D"), Cells(35, "D")).Copy Cells(b, "D")
    b = b + 34
    Next
Application.ScreenUpdating = False
End Sub
 
Upvote 0
We are copying 34 cells of Data
And you want them copied down till row 3252

Which would mean copy them 95.64 times which I do not know how to do.
Try this script it copies them 95 times.

If you need an exact 95.64 times someone else will have to help you.

Not sure what your doing but try this:
This script copies them to row 3265

It worked perfect! Thank you sir. :pray::pray: You are a god among men. May you live to be a thousand years old. Let the streets run red with the blood of your enemies.
 
Upvote 0
Try this one line:
You can change D3252 to D3265 if you want.


Please use Code Tags when posting a code. Like this: [CODE ]Your Code Here[/ CODE]
Code:
    Range([B][COLOR=brown]"D2:D35"[/COLOR][/B]).AutoFill Destination:=Range([B][COLOR=brown]"D2:D3252"[/COLOR][/B]), [B][COLOR=Royalblue]Type[/COLOR][/B]:=xlFillCopy

 
Upvote 0
Glad I was able to help you. But then there is always 10 other ways to do the same thing.
It worked perfect! Thank you sir. :pray::pray: You are a god among men. May you live to be a thousand years old. Let the streets run red with the blood of your enemies.
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,269
Members
452,628
Latest member
dd2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top