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
A
B
C
D
E
F
G
H
I
J
K
L
M
N
ID
category
week no
height
weight
week no
height
weight
week no
height
weight
week no
height
weight
2
blue
Week 2
98
22.1
Week 3
98.2
22.4
Week 4
98.6
22.6
Week 5
99
23
3
green
Week 2
98
22.4
Week 3
98.3
22.6
Week 4
98.9
22.8
Week 5
99.1
23.2
4
red
Week 2
89
18.9
Week 3
89.2
19.4
Week 4
89.4
19.5
Week 5
89.8
19.8

<tbody>
</tbody>

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.
 

Some videos you may like

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Watch MrExcel Video

Forum statistics

Threads
1,102,730
Messages
5,488,540
Members
407,643
Latest member
samerf86

This Week's Hot Topics

  • Timer in VBA - Stop, Start, Pause and Reset
    [CODE=vba][/CODE] Option Explicit Dim CmdStop As Boolean Dim Paused As Boolean Dim Start Dim TimerValue As Date Dim pausedTime As Date Sub...
  • how to updates multiple rows in muliselect listbox
    Hello everyone. I need help with below code. code is only chaning 1st row in mulitiselect list box. i know issue with code...
  • Delete Row from Table
    I am trying to delete a row from a table using VBA using a named range to find what I need to delete. My Range is finding the right cell. In the...
  • Assigning to a variable
    I have a for each block where I want to assign the value in column 5 of the found row to the variable Serv. [CODE=vba] For Each ws In...
  • Way to verify information
    Hi All, I don't know what to call this formula, and therefore can't search. I have a spreadsheet with information I want to reference...
  • Active Cell Address – Inactive Sheet
    How to use VBA to get the cell address of the active cell in an inactive worksheet and then place that cell address in a location on the current...
Top