Copying selective data from one sheet to other sheets

erinroy

New Member
Joined
Dec 20, 2009
Messages
3
I have a sheet of data that contains 6000 rows. I want every other row copied to sheet 2. Every third row copied to sheet 3, and so on for 48 sheets. I would like it to be dynamic so that if I update the data in sheet 1, all other sheets update in unison. Is there any way to do this? I attempted to go to sheet 2 and type "='Sheet1'!A1" in the first cell and "='Sheet1'!A2" in the second cell and then just copy this down the column in sheet 2. For some reason this isnt working for me. Can anyone help me out?

Thanks!

Eian
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
sounds quite inefficient (48 sheets that is). why not just filter out the data as you need it. see below vba example:


Code:
Sub MyFilter()
 
Dim x As Integer
Dim myInput As Integer
Dim LastRow As Long
 
myInput = InputBox("How many rows to skip?")
 
LastRow = Sheets("Sheet1").Range("A" & Rows.Count).End(xlUp).Row
 
x = 1
 
For i = 1 To LastRow Step myInput
 
    Sheets("Sheet1").Rows(i).Copy Destination:=Sheets("Sheet2").Rows(x)
    
    x = x + 1
Next

End Sub
 
Upvote 0
Thanks for the info. Yea, it appears to be inefficient, but this is the way it must be due to the nature of my project, unfortunately.
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,490
Members
448,967
Latest member
visheshkotha

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