把工作表儲存為 CSV
要點
- 選擇
- 儲存
You want to save Excel sheets as CSV. CSV is a simple format readable by many systems and programs. Choosing "CSV" in Split an Excel File by Sheet bundles a CSV file per sheet in a ZIP.
步驟
- Choose an .xlsx with "Choose an Excel file".
- Choose "CSV" under "Save format".
- Press "Split by sheet and save as ZIP" and save the ZIP.
- Open the ZIP and check the CSVs inside.
CSV is a text-only format. Colours, borders and column widths are not saved.
Uses CSV suits
- Importing into accounting or sales-management systems
- Use in programs and databases
- Handing over in a light, easy-to-handle form
Cautions when making CSV
- Formulas become their calculated values
- Numbers with leading zeros may lose the zeros when reopened in Excel
- Date formats may look changed
- If garbled, use the character-encoding conversion tool
When garbled
Opening a CSV in Excel can garble Japanese. In that case, convert to Excel-friendly UTF-8 (with BOM) using the encoding conversion tool and reopen.
適合
- Registering each sheet in a system one by one
- Keeping only the table data in a light form
示例
Wanted to import only the "Products" sheet of a product-master Excel into a sales system. Split to CSV and used only that sheet's file.
Common stumbling blocks
- Many sheets and can't tell which is which: the file name is the sheet's name.
- Zeros disappear: don't reopen the CSV in Excel; treat it as text.
Frequently asked questions
Can I extract just one sheet?
Use only the file you need from the ZIP.
小結
CSV for systems. Formatting is lost, so check the purpose before saving.
使用「按工作表拆分 Excel 檔案」(免費)搭配使用的工具
- 把 Excel 轉換成 CSV 或 JSON:把 Excel 工作表轉換成 CSV、TSV 或 JSON。
- 把 CSV 轉換成 Excel(.xlsx):把 CSV 轉換成 Excel(.xlsx)檔案。
- 把 Excel 公式轉換成數值:把 Excel 公式替換成計算結果。