I need to merge cells in Excel (xlsx) by rows and again by columns using PHPExcel. I tried the following.
$sheet->mergeCells(\"G\".($row_count+1).\":G\".($row
$sheet -> mergeCellsByColumnAndRow($col1, $row1, col2, row2);
is the function.