PDF Mikata

合併單元格的處理方式

釋出日期:2026 年 10 月 19 日|最後更新:2026 年 10 月 19 日|關於(日文)

要點
  • 確認
  • 解決辦法

Excel tables sometimes have merged cells for looks. When converted with Convert an Excel Table to HTML or Markdown, a merged cell's text goes only into the top-left one, and the other cells become empty.

Conversion rule

HTML merge attributes are not included. The look may differ from the original table.

What commonly happens

Steps (to convert cleanly)

  1. Before converting, unmerge cells in Excel.
  2. Fill the now-empty cells with the same text.
  3. Convert with this tool.
  4. Check the converted table.

Tips for unmerging

  1. Select the merged cell.
  2. Press "Merge & Center" to unmerge.
  3. Copy the text into the emptied cells.

Why not to merge

How to fix after converting

If you want to keep merging in HTML, add colspan (column merge) or rowspan (row merge) by hand to the converted HTML.

適合

示例

In a monthly summary, "Q1" was merged across three months. After converting, only January had the text, so I unmerged in Excel, re-entered it for each month and redid it.

Common stumbling blocks

Frequently asked questions

Can it convert keeping the merge?

The merged look isn't included. Unmerging is the reliable way.

小結

For merged cells, only the top-left gets the text. Unmerge before converting for a clean result.

使用「把 Excel 表格轉換成 HTML 或 Markdown」(免費)

搭配使用的工具

如果這篇教程對你有幫助,一點小小的打賞會讓我們非常開心。

打賞(300 日元)贈送禮物(亞馬遜心願單)

此工具的更多教程

檢視全部教程