Mingalator
Board Regular
- Joined
- Oct 28, 2008
- Messages
- 53
Hi Folks,
I am trying to easily and quickly convert a table with 139 column / headings and variable number of rows, typically ~400, into a flat list of say 3 x 55,600 (139 x 400)
So the headings would be my unique key (project number) then another 138 headings of various categories, say period 1-138
To turn into:
Any ideas or pointers would be appreciated, is a macro the way to go?? Or is there a function in Excel that would achieve this?
Thanks
I am trying to easily and quickly convert a table with 139 column / headings and variable number of rows, typically ~400, into a flat list of say 3 x 55,600 (139 x 400)
So the headings would be my unique key (project number) then another 138 headings of various categories, say period 1-138
Project | P1 | P2 | P3 | P4 | P5 | P6 |
00001 | 123 | 234 | 456 | 567 | 678 | 789 |
00002 | 111 | 222 | 333 | 444 | 555 | 666 |
To turn into:
Project | Heading | Value |
00001 | P1 | 123 |
00001 | P2 | 234 |
00001 | P3 | 456 |
00001 | P4 | 567 |
00001 | P5 | 678 |
00001 | P6 | 789 |
00002 | P1 | 111 |
00002 | P2 | 222 |
Any ideas or pointers would be appreciated, is a macro the way to go?? Or is there a function in Excel that would achieve this?
Thanks