병합된 셀은 어떻게 처리될까
핵심 포인트
- 확인
- 수정
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
- A merged cell's text goes only into the top-left cell.
- The other cells become empty.
HTML merge attributes are not included. The look may differ from the original table.
What commonly happens
- A "Category" cell merged across 3 rows → only the first row holds "Category"; rows 2 and 3 are empty
- A table title merged across all columns → only the first column holds the title
Steps (to convert cleanly)
- Before converting, unmerge cells in Excel.
- Fill the now-empty cells with the same text.
- Convert with this tool.
- Check the converted table.
Tips for unmerging
- Select the merged cell.
- Press "Merge & Center" to unmerge.
- Copy the text into the emptied cells.
Why not to merge
- Sorting and filtering don't work well
- Empty cells get in the way when handling it as data
- It breaks easily when pasted into web pages or systems
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.
알맞은 경우
- Converting clean tables without merged cells
- Extracting just the data from tables that contain merged cells
예
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
- The text seems to have vanished: when merged, everything except the top-left is empty.
- Columns shift: unmerge before converting.
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으로 변환” 사용하기 (무료)함께 쓰면 좋은 도구
- Excel을 CSV나 JSON으로 변환: Excel 시트를 CSV, TSV, JSON으로 변환합니다.
- Word를 HTML로 변환하기: Word 문서의 글을 HTML로 바꿉니다.
- CSV와 JSON 변환: CSV와 JSON을 즉시 서로 변환합니다.