67
31
I have data that looks like this:
Id | Loc1 | Loc2 | Loc3 | Loc4
---+------+------+------+-----
1 | NY | CA | TX | IL
2 | WA | OR | NH | RI
And I want to convert it to this:
Id | LocNum | Loc
---+--------+----
1 | 1 | NY
1 | 2 | CA
1 | 3 | TX
1 | 4 | IL
2 | 1 | WA
2 | 2 | OR
2 | 3 | NH
2 | 4 | RI
What's the easiest way to do this in Excel 2007?
1
Found the answer: http://stackoverflow.com/questions/32115219/unpivot-an-excel-matrix-pivot-table/32116657#32116657
– Quandary – 2015-08-20T11:17:16.027