Copy value of every 3rd row into columns

write2son

New Member
Joined
Jan 28, 2015
Messages
2
Hi, I'm trying to copy the values from every third cell into a new column. I've looked at examples and tried both the INDEX and MOD functions to no avail. Please help.
https://drive.google.com/file/d/0B-bGMjKaL94hOXIxSHBDODhPZjg/view?usp=sharing
view
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Try:
Code:
Sub CopyData()
    Application.ScreenUpdating = False
    Dim x As Long
    Dim y As Long
    y = 2
    For x = 8 To 28 Step 3
        Cells(2, y) = Range("F" & x)
        y = y + 1
    Next x
    Application.ScreenUpdating = True
End Sub
 
Upvote 0
When I tried it on a dummy sheet, it worked properly. I think that it would be much easier to follow if I could see how your data is organized. Perhaps you could upload a copy of your file to a free site such as www.box.com. Once you do that, mark it for 'Sharing' and you will be given a link to the file that you can post here.
 
Upvote 0

Forum statistics

Threads
1,215,472
Messages
6,125,003
Members
449,203
Latest member
Daymo66

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