Minor additions to formulas in built sheet

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@86203 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker 2012-02-08 22:32:22 +00:00
parent 86b256dbdf
commit a047194ef8
1 changed files with 4 additions and 1 deletions

View File

@ -69,7 +69,10 @@ $objPHPExcel->getActiveSheet()->setCellValue('A7', 'Total of both ranges:');
$objPHPExcel->getActiveSheet()->setCellValue('B7', '=SUM(B5:C5)');
$objPHPExcel->getActiveSheet()->setCellValue('A8', 'Minimum of both ranges:');
$objPHPExcel->getActiveSheet()->setCellValue('B8', '=MIN(B2:C5)');
$objPHPExcel->getActiveSheet()->setCellValue('B8', '=MIN(B2:C4)');
$objPHPExcel->getActiveSheet()->setCellValue('A9', 'Maximum of both ranges:');
$objPHPExcel->getActiveSheet()->setCellValue('B9', '=MAX(B2:C4)');
// Rename sheet
echo date('H:i:s') . " Rename sheet\n";