Spreadsheet Reformat

olsonoson

New Member
Joined
Jul 1, 2008
Messages
3
I have a spreadsheet that has been formatted in problematic way. All of the data was put in individual distinct columns, but the data should be summarized together.

So a rough example...
I have 15 columns and 20 rows of data. I am interested in analyzing every 3 columns of data together across the 15 columns. I would to be able to grab the data from the first 3 columns put it into a new spreadsheet (doesn't technically need to be a new one, but I figured that would be easier...) than grab the next 3 columns of data and move it into that newly created spreadsheet and place it right below the last row of data from the first 3 columns.

Is there anyway to do this? I really need help.... I don't want to have to do it manually as there aren't 15 columns, but nearly 2000...

Thanks!
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
Use this:
Code:
Option Explicit

Sub MergeToThreeColumns()
Dim LC As Long
Dim C  As Long

LC = Cells(1, Columns.Count).End(xlToLeft).Column

For C = 4 To LC Step 3
    Cells(1, C).Resize(100, 3).Cut Range("A" & Rows.Count).End(xlUp).Offset(1)
Next C
    
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,616
Messages
6,179,909
Members
452,949
Latest member
beartooth91

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