By Jetformat
Select a rectangular range such as A1:B1. Review values in the range before merging because the resulting visual cell cannot display independent values in each position.
Steps
- Start with a local XLSX. Replace the sample paths and identifiers with your own.
- Run the command below. Save to a new output path so the source remains available for comparison.
- Check the result as described below before using it in another job.
jetformat excel merge-cells finance.xlsx --sheet Summary --from A1 --to B1 -o finance-updated.xlsx
Options for this task
| Option | Meaning |
|---|---|
--from |
Start cell, for example A1 |
--output |
Output XLSX path (required) |
--sheet |
Worksheet name (required) |
--to |
End cell, for example B2 |
Check the result
Open the saved sheet and check the merged region and its retained value before distributing the workbook.
Notes and limits
Writing an Office document uses one credit per command. See the billing guide for the current rules.
The examples keep the original file. Add --force only when you intend to overwrite an existing output. Run jetformat excel merge-cells --help to compare options with your installed version.
See the excel command reference for the surrounding workflow.