![]() |
#1
|
|||
|
|||
![]()
I have Excel data in an unusable format for upload to a system. I need to replicate each row of data, but also convert select columns of data into rows.
In the attached file, I have two sample rows of data and a row of headers in the Current Data tab. Columns A thru V need to be repeated in new rows to align with converting Columns W thru AR into a single column, but broken out by rows to align with the newly repeated rows for Columns A thru V. In the Desired Data tab, you can see the results I would like as described above. I'm not an expert in developing Macros, but this is something that would be repeated monthly for several thousand rows of data, initially. |
#2
|
|||
|
|||
![]()
Let me see if I understand this. Basically, you want to transpose the column headings in W through AR (e.g. HCP: Break (1), HCP: Break (2), HCP: Breakfast (1), etc.) but not the data under those headings (e.g. 0, 0, 19.98, etc.) and then repeat the data in A through V and AS through AT for each of these.
|
#3
|
|||
|
|||
![]()
My computer crashed when I was posting this earlier and I thought my desired file had saved correctly. This attachment clarifies the desired outcome. It is exactly as you described it, but WITH the data transposed under a separate column. Thank you very much for clarifying
|
#4
|
||||
|
||||
![]()
If you need a macro, please post in the VBA forum
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
![]() |
Tags |
column to row, macro |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
jdjette | Excel | 7 | 03-02-2012 04:48 PM |
How do I stack columns of data on top of each other? | Snvlsfoal | Excel | 1 | 07-29-2011 10:16 AM |
![]() |
HipHopapotamus | Word Tables | 1 | 05-02-2011 06:57 PM |
Can I do this? sorting data in seperate columns | shumonsaha | Excel | 0 | 07-04-2010 03:05 AM |
macro for comparing data from 3 columns and pasting into another worksheet | ashukla | Excel | 1 | 06-24-2009 05:01 PM |