silverdollar
New Member
- Joined
- May 11, 2017
- Messages
- 2
Hello,
I have a set of data that contains data using a combination of columns and rows. I would like to transpose the columns into the rows so I would be able to create a load file. I'm not quite sure how to explain this but please see the screen print below to see what I am trying to accomplish. The actual data set has over 200 rows and 200 columns, the end result would have roughly 40,000 (200*200) rows of data. If anyone has a good suggestion on creating this data set, please let me know. I would appreciate any suggestions. Thanks everyone!!
<tbody>
</tbody>
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}o\:* {behavior:url(#default#VML);}x\:* {behavior:url(#default#VML);}.shape {behavior:url(#default#VML);}</style><![endif]-->
<tbody>
</tbody>
I have a set of data that contains data using a combination of columns and rows. I would like to transpose the columns into the rows so I would be able to create a load file. I'm not quite sure how to explain this but please see the screen print below to see what I am trying to accomplish. The actual data set has over 200 rows and 200 columns, the end result would have roughly 40,000 (200*200) rows of data. If anyone has a good suggestion on creating this data set, please let me know. I would appreciate any suggestions. Thanks everyone!!
BEFORE: | |||
Unit A | Unit B | Unit C | |
GL-1000 | 100 | 50 | 0 |
GL-1001 | 200 | 75 | 75 |
GL-2000 | 300 | 0 | -100 |
GL-2002 | -400 | 0 | 100 |
GL-3000 | 500 | -100 | 200 |
GL-3001 | 600 | 50 | 300 |
<tbody>
</tbody>
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}o\:* {behavior:url(#default#VML);}x\:* {behavior:url(#default#VML);}.shape {behavior:url(#default#VML);}</style><![endif]-->
AFTER: | ||
Account | Unit | Amount |
GL-1000 | Unit A | 100 |
GL-1001 | Unit A | 200 |
GL-2000 | Unit A | 300 |
GL-2002 | Unit A | -400 |
GL-3000 | Unit A | 500 |
GL-3001 | Unit A | 600 |
GL-1000 | Unit B | 50 |
GL-1001 | Unit B | 75 |
GL-2000 | Unit B | 0 |
GL-2002 | Unit B | 0 |
GL-3000 | Unit B | -100 |
GL-3001 | Unit B | 50 |
GL-1000 | Unit C | 0 |
GL-1001 | Unit C | 75 |
GL-2000 | Unit C | -100 |
GL-2002 | Unit C | 100 |
GL-3000 | Unit C | 200 |
GL-3001 | Unit C | 300 |
<tbody>
</tbody>