... $workbook->addFormat();$format->setNumFormat('[Blue]0;[Red]0;[Green]0;@ *-& apos;);$worksheet->write(0, 1, 10 , $format);$worksheet->write(0, 1, -1 0, $format);$worksheet->write(0, ... Spreadsheet_Excel_Writer::rowcolToCell($last, 1) ;$worksheet 1- & gt;write($last + 1, 0, "Total =");$worksheet 1- & gt;writeFormula($last + 1, 1, "=SUM($cell1:$cell2)");As you can see, we are using the row and column ... Worksheet');$worksheet->write (1, 0, 'VAT:');$worksheet->write (1, 1, " .16 ", $tax);$worksheet->write(2, 1, 'Price');$worksheet->write(2, 2, " ;With Tax");$worksheet->freezePanes(array(3));for...