轉換有多個工作表的 Excel 檔案
要點
- 選擇
- 切換
An Excel file has several sheets. In Convert Excel to CSV or JSON you choose the sheet to convert and convert one sheet at a time.
步驟
- With "Choose one .xlsx Excel file", choose the file.
- From the "Sheet" list, choose the sheet to convert.
- Choose the "Format".
- Check "After conversion" and save.
- To convert another sheet, switch the "Sheet".
- 分別儲存每個工作表的結果。
Several sheets are not combined into one CSV. You get separate results per sheet.
Why sheet by sheet
CSV and TSV can represent only one table. For Excel files with several sheets, separating by sheet is natural.
工作流程
- Choose the first sheet and save the result as a file.
- Switch to the second sheet and save.
- Repeat as many times as needed.
Including the sheet name in the saved file name makes them easy to tell apart later.
If you want to combine sheets into one
- Convert each sheet to CSV and save.
- Combine them with a text editor or a CSV combining tool.
- Only when the sheets' item names (headings) are in the same format.
Hidden sheets
Sheets hidden in Excel may also appear in the list. Check they are the sheets you need before choosing.
適合
- Converting a sales table with a sheet per month
- Converting a roster with a sheet per department
- Extracting multiple data sets separately
示例
A sales table with 12 sheets, one per month. Switched from January to December in turn and made 12 CSVs.
Common stumbling blocks
- Many sheets make choosing hard: convert only the necessary sheets.
- Column structure differs by sheet: check they match when combining.
- Sheet names are in Japanese: name the saved file yourself.
Frequently asked questions
Can all sheets be converted at once?
No. Convert sheet by sheet.
小結
Choose a sheet, convert and save one at a time. To combine, join them after conversion.
使用「把 Excel 轉換成 CSV 或 JSON」(免費)搭配使用的工具
- 把 CSV 轉換成 Excel(.xlsx):把 CSV 轉換成 Excel(.xlsx)檔案。
- CSV 與 JSON 互相轉換:立即在 CSV 和 JSON 之間互相轉換。
- 提取 Word 檔案中的文字:提取 Word 檔案中的純文字。