title: How to convert flatten table to 2D Excel table
body: <p>I have a "flatten" table with countries and years in Excel. eg.</p>
  
  <pre><code>Country      Year       Value
  USA          1961       a
  USA          1962       x
  USA          1963       g
  USA          1964       y
  France       1961       u
                ...
  </code></pre>
  
  <p>And I'd like to have a two dimensional table as following:</p>
  
  <pre><code>        1961        1962        1963        1964
  USA      a           x            g           y
  France   u           e            h           a
  Germany  o           x            n           p
  </code></pre>
  
  <p>Do you happen to know, how to do that programmatically in Excel using VBA. Many thanks in forward for any hint or advice.</p>