Merge or unmerge cells
merge_cellsMerge a cell range into one cell or split a merged range back into individual cells. Keeps only the top-left value when merging.
Instructions
Merge a range into one cell, or split a merged range again.
Merging keeps only the top-left value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to an .xlsx, .xlsm, .xltx or .xltm file. Relative paths are resolved in the server's workbook directory when one is configured; otherwise use an absolute path. | |
| range | Yes | A cell or rectangular range in A1 notation, e.g. 'A1:D20'. | |
| sheet | Yes | Worksheet name, e.g. 'Sheet1'. | |
| action | No | Merge the range or split it again. | merge |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |