title: How to loop/pivot between start and end date to display monthly cost
body: <p>I have a table with a PROJECTNAME, ACTUALCOST, PROJECTSTART and PROJECTEND columns like so:</p>
  
  <pre><code>PROJECTNAME          ACTUAL COST          PROJECTSTART          PROJECTEND
  abc                  1500                 2011-12-01            2012-07-31
  prj1                 1170                 2012-01-09            2012-06-30  
  xyz                  5350                 2012-01-30            2012-03-30
  </code></pre>
  
  <p>I am trying to get an output like below:</p>
  
  <pre><code>PRJNAME     DEC11     JAN12     FEB12     MAR12     APR12     MAY12     JUN12     JUL12 ...
  abc         187.5     187.5     187.5     187.5     187.5     187.5     187.5     187.5
  prj1                  117       195       195       195       195       195
  </code></pre>
  
  <p>I need the monthly cost breakdowns of each project name, depending on how many days left are in each month.</p>