jacksantho -3 Junior Poster

Hi,

Anyone please me out, i need to sum the excel values dynamically?

code:

$col=1;
$row=29;
$start=23;
$end=28;
$objPHPExcel->getActiveSheet()->setCellValueByColumnAndRow($col, $row, "=SUM($col.$start:$col.$end)");

cell values are not getting up added ? Am facing error. thanks in advance.