HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/ridderstee.komma.pro/vendor/maatwebsite/excel/docs/export/merge.md
# Column merging

### Merging cells

To merge a range of cells, use `->mergeCells($range)`.

    $sheet->mergeCells('A1:E1');

### Merging columns and rows

To merge columns and rows, use `->setMergeColumn($array)`.

    $sheet->setMergeColumn(array(
        'columns' => array('A','B','C','D'),
        'rows' => array(
            array(2,3),
            array(5,11),
        )
    ));