Copy every n of cells every n of columns and paste in a new row, for every row

naimickmac23

New Member
Joined
Feb 7, 2016
Messages
2
[TABLE="width: 850"]
<tbody>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[TD]F
[/TD]
[TD]G
[/TD]
[TD]H
[/TD]
[TD]I
[/TD]
[TD]J
[/TD]
[TD]K
[/TD]
[TD]L
[/TD]
[TD]M
[/TD]
[TD]N
[/TD]
[/TR]
[TR]
[TD]ID
[/TD]
[TD]category
[/TD]
[TD]week no
[/TD]
[TD]height
[/TD]
[TD]weight
[/TD]
[TD]week no
[/TD]
[TD]height
[/TD]
[TD]weight
[/TD]
[TD]week no
[/TD]
[TD]height
[/TD]
[TD]weight
[/TD]
[TD]week no
[/TD]
[TD]height
[/TD]
[TD]weight
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]blue
[/TD]
[TD]Week 2
[/TD]
[TD]98
[/TD]
[TD]22.1
[/TD]
[TD]Week 3
[/TD]
[TD]98.2
[/TD]
[TD]22.4
[/TD]
[TD]Week 4
[/TD]
[TD]98.6
[/TD]
[TD]22.6
[/TD]
[TD]Week 5
[/TD]
[TD]99
[/TD]
[TD]23
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]green
[/TD]
[TD]Week 2
[/TD]
[TD]98
[/TD]
[TD]22.4
[/TD]
[TD]Week 3
[/TD]
[TD]98.3
[/TD]
[TD]22.6
[/TD]
[TD]Week 4
[/TD]
[TD]98.9
[/TD]
[TD]22.8
[/TD]
[TD]Week 5
[/TD]
[TD]99.1
[/TD]
[TD]23.2
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]red
[/TD]
[TD]Week 2
[/TD]
[TD]89
[/TD]
[TD]18.9
[/TD]
[TD]Week 3
[/TD]
[TD]89.2
[/TD]
[TD]19.4
[/TD]
[TD]Week 4
[/TD]
[TD]89.4
[/TD]
[TD]19.5
[/TD]
[TD]Week 5
[/TD]
[TD]89.8
[/TD]
[TD]19.8
[/TD]
[/TR]
</tbody>[/TABLE]

In the above example, I'd like to start in C2, and copy C2,C3 and C4, then paste those values in a new sheet.I'd like to continue to do that until the last column at the end of the row. I'd like to continue doing this until the last row is empty. My actual data extends further past column N, so I'd like to use some variable range to go to the end. Same is true for the number of rows.
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)

Forum statistics

Threads
1,224,823
Messages
6,181,180
Members
453,021
Latest member
Justyna P

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