title: SUM of dynamic row in phpexcel
body: <p>I am the biginner of phpexcel I am facing problem to sum up the dynamic row.
  Normally the code will be   </p>
  
  <pre><code>  $objPHPExcel-&gt;getActiveSheet()-&gt;SetCellValue(AB45,"=SUM(AB25:AB44)" );  
  </code></pre>
  
  <p>how about the dynamic row?? the below is my code</p>
  
  <pre><code> $objPHPExcel-&gt;getActiveSheet()-&gt;SetCellValue('AB'.$col, "=SUM(AB25:AB".($col).")");
  </code></pre>
  
  <p>Appreaciate your help~</p>