title: Use date as a criteria in SUM or sumif function
body: <p>I have two columns </p>
  
  <pre><code>Amount    Date
  
  100       01/01/2000  
  2000      01/12/2002
  2000      02/02/2005
  150       03/02/2000
  250       05/03/2002
  350       04/05/2006
  </code></pre>
  
  <p>I need result as follows</p>
  
  <pre><code>Total year 
  
  2005 - 2000
  2000 - 250
  2002 - 2250
  2006 - 350
  </code></pre>
  
  <p>Can I use SUMIF function for this? If it's possible what criteria I have to put?</p>