Hello!
Here is a "scrubbed" version of the spreadsheet I'm working from: https://dl.dropbox.com/u/89323524/STEP%20sample%20file.xlsx
I am a data specialist for a school system, and we're working on a massive data organization project that will eventually allow us to save and access our data in the cloud. As a result, I have to reformat the above-linked spreadsheet so that each row is converted into multiple rows - one for each "color block" of columns starting in Column K.
- A2:F2 should stay the same. Then the information in columns K thru N should be pasted into columns G thru J.
- Then, in the next row, repeat A2:F2 into row 3. Then put the information in the red columns (O:Q) into columns G:I, leaving column J empty.
- Then, in the next row, repeat A2:F2 into row 4. Then put the information in the orange columns (R:T) into columns G:I, leaving column J empty.
Repeat this pattern until all 18 colored column sets have been pasted into columns G thru J. In the end, each student should have 18 rows instead of just one (so "Alfred" will be in C2:C19, then "Ursula" in C20:C37, etc). The sheet called "Desired final product" shows how I want the data to look in the end.
The colors of the columns are arbitrary and do not need to be repeated when the contents are "relocated;" I formatted the sheet this way for my own sanity!
I have to repeat this process with thousands of records on multiple spreadsheets, each one with the same format but with varying numbers of rows and columns. It's clearly not feasible to copy and paste by hand! Does anyone have an idea for a macro or loop that might help? Thank you!!
Here is a "scrubbed" version of the spreadsheet I'm working from: https://dl.dropbox.com/u/89323524/STEP%20sample%20file.xlsx
I am a data specialist for a school system, and we're working on a massive data organization project that will eventually allow us to save and access our data in the cloud. As a result, I have to reformat the above-linked spreadsheet so that each row is converted into multiple rows - one for each "color block" of columns starting in Column K.
- A2:F2 should stay the same. Then the information in columns K thru N should be pasted into columns G thru J.
- Then, in the next row, repeat A2:F2 into row 3. Then put the information in the red columns (O:Q) into columns G:I, leaving column J empty.
- Then, in the next row, repeat A2:F2 into row 4. Then put the information in the orange columns (R:T) into columns G:I, leaving column J empty.
Repeat this pattern until all 18 colored column sets have been pasted into columns G thru J. In the end, each student should have 18 rows instead of just one (so "Alfred" will be in C2:C19, then "Ursula" in C20:C37, etc). The sheet called "Desired final product" shows how I want the data to look in the end.
The colors of the columns are arbitrary and do not need to be repeated when the contents are "relocated;" I formatted the sheet this way for my own sanity!
I have to repeat this process with thousands of records on multiple spreadsheets, each one with the same format but with varying numbers of rows and columns. It's clearly not feasible to copy and paste by hand! Does anyone have an idea for a macro or loop that might help? Thank you!!