This is a toggleable control that joins all cells in a rectangular selection into a single cell, or returns merged cells to the original individual cells. When merging it will format the merged cell as center aligned.
The control is shown toggled-on whenever there are merged cells in the selection, indicating that clicking the control will unmerge those cells.
Om man slår sammen celler, kan det føre til utregningsfeil i formler i tabellen.
Cells cannot be merged again without first unmerging them.
Merging a cell selection that partially includes merged cells is generally possible with Unmerge Cells followed by Merge Cells, without altering the initial selection. The result will be largely depend on previous choices when merging cells made with the Merge Cells Dialog options described below.
Multiple selection is not supported, that is, the selection must be rectangular.
The merged cell receives the name and content of the first cell of the selection.
If more than one cell to be merged has content the Merge Cells dialog opens.
Three options are available:
Move the contents of the hidden cells into the first cell: The actual contents of the hidden cells are concatenated to the first cell, and hidden cells are emptied; the results of formulas referring to the hidden cells or the first cell will be updated.
Keep the contents of the hidden cells: The contents of the hidden cells are kept; the results of formulas referring to the hidden cells will not change.
Empty the contents of the hidden cells: The contents of the hidden cells are removed; the results of formulas referring to the hidden cells will be updated.