title: SAS Find average values over several datasets
body: <p>I have several datasets each with the same structure and I would like to find the average of the values in each cell of the table.</p>
  
  <p>eg. Say I have three tables each with 3 rows (A-C) and 2 columns (1-2), how can I calculate the average values of these cells ?</p>
  
  <pre><code>  1 2    1 2    1 2
  A 2 1  A 0 1  A 4 1
  B 9 0  B 0 2  B 0 1
  C 1 5  C 2 2  C 3 2
  </code></pre>
  
  <p>The result would thus be:</p>
  
  <pre><code>  1 2
  A 2 1
  B 3 1
  C 2 3
  </code></pre>