合并每一行Excel

时间:2017-06-20 12:23:48

标签: excel

我有以下格式的数据,前两列是类别,其余是数据:

++++++++++++++++++++++++++
| AAA | xxxx | 4 | 5 | 6 |
++++++++++++++++++++++++++
| AAA | yyyy | 4 | 5 | 6 |
++++++++++++++++++++++++++
| BBB | xxxx | 2 | 3 | 9 |
++++++++++++++++++++++++++
| BBB | yyyy | 3 | 3 | 3 |
++++++++++++++++++++++++++
...
++++++++++++++++++++++++++
| NNN | xxxx | 7 | 4 | 4 |
++++++++++++++++++++++++++
| NNN | yyyy | 7 | 4 | 4 |
++++++++++++++++++++++++++

我想合并第一列的每组单元格,使数据看起来更整洁。集合中总会有两行(类别和两个子类别:

++++++++++++++++++++++++++
|     | xxxx | 4 | 5 | 6 |
| AAA |+++++++++++++++++++
|     | yyyy | 4 | 5 | 6 |
++++++++++++++++++++++++++
++++++++++++++++++++++++++
|     | xxxx | 4 | 5 | 6 |
| BBB |+++++++++++++++++++
|     | yyyy | 4 | 5 | 6 |
++++++++++++++++++++++++++
...
++++++++++++++++++++++++++
|     | xxxx | 4 | 5 | 6 |
| NNN |+++++++++++++++++++
|     | yyyy | 4 | 5 | 6 |
++++++++++++++++++++++++++

1 个答案:

答案 0 :(得分:1)

解决了:

  1. 手动合并两个单元格
  2. 突出显示合并单元格和[Home>剪贴板>格式画家]
  3. 拖动列中的剩余单元格以复制格式选项