目录

# Merge and Unmerge Cells

You can select a range of cells, then merge them into a single cell. Conversely, you can take a previously merged cell and divide it back into individual cells.

在将单元格复制到包含合并的单元格的目标区域时，目标区域首先会取消合并，然后将复制的单元格粘贴在其中。如果复制的单元格为合并的单元格，则这些单元格会保持其合并状态。

## Merge Cells

合并单元格可能会导致表格中公式计算出错。

要访问此命令...

Click and drag to select the cells to be merged then do one of the following:

In the Formatting toolbar click:

合并单元格

Or, right click the selection to open the context menu and choose Merge Cells.
If Unmerge Cells is present instead then the cell selection contains merged cells and cannot be merged further.

Or, in the Properties sidebar mark the Merge Cells checkbox.

Or, choose Format - Merge and Unmerge Cells - Merge Cells

Or, choose Format - Merge and Unmerge Cells - Merge and Center Cells

The cells will be merged and the content will be centered in the merged cell.

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.

#### Merge Cells Dialog Options

有以下选项可用:

- 「将隐藏单元格的内容移动到第一个单元格中」: 将隐藏单元格的实际内容连接到第一个单元格的内容之后, 并清空隐藏单元格; 引用隐藏单元格或第一个单元格的公式的结果将会更新。

- 「保留隐藏单元格的内容」: 将保留隐藏单元格的内容; 引用隐藏单元格的公式的结果不会更改。

- 「清空隐藏单元格的内容」: 隐藏单元格的内容将被删除; 引用隐藏单元格的公式的结果将会更新。

## Unmerge Cells

要访问此命令...

Select the cell to be unmerged, or a selection that includes the cells to be unmerged then do one of the following:

In the Formatting toolbar, click:

Unmerge CellsSplit Cells

Or, right click the selection to open the context menu and choose Unmerge Cells.
If Merge Cells is present instead then the selection does not contain any merged cells.

Or, in the Properties sidebar clear the Merge Cells checkbox.

Or, choose Format - Merge and Unmerge Cells - Unmerge Cells.

Or, toggle Format - Merge and Unmerge Cells - Merge and Center Cells

相关主题

Merge Cells

Merge and Center Cells

D'oh! You found a bug (text/shared/01/05100200.xhp#unmergecells not found).

引用其他工作表