Question

This is a general question that just popped into my head that I have always wondered. There have been several times when I've needed to rotate data in Excel, for example:

Starting with:

   |  A  |  B  |  C  |
----------------------
 1 | ABC | DEF | GHI |
----------------------
 2 | omg | lol | xyz |
----------------------
 3 |     |     |     |
----------------------

transform into:

   |  A  |  B  |  C  |
----------------------
 1 | ABC | omg |     |
----------------------
 2 | DEF | lol |     |
----------------------
 3 | GHI | xyz |     |
----------------------

I have never found a reasonable way to do this. Solutions I can think of right now are:

  1. Write a macro (yuck)
  2. Manually copy / paste (yuck)
  3. Maybe some pivot table magic? (i doubt this would be possible)
  4. Clever formulas using INDEX

Are there other solutions, maybe some hidden built-in feature?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top