古い .xls ファイルのとき
この記事のポイント
- 開く
- 保存し直す
古い形式の .xls ファイルを、シートごとに分けたい。Excelをシートごとに分ける は、.xlsx 形式のファイルを対象にしています。.xls のままでは、使えない場合があります。
対応している形式
- 対応:.xlsx
- 対応していない:.xls(古い形式)
.xls を .xlsx にする方法
- .xls ファイルを、Excelで開く。
- 「名前を付けて保存」を選ぶ。
- ファイルの種類を、「Excelブック(.xlsx)」にして保存する。
- 保存した .xlsx を、このツールで開く。
拡張子だけを書き換えても、使えません。必ず、Excelで保存し直します。
保存し直すときの注意
- 元の .xls ファイルは、そのまま残しておく
- マクロ入りのファイル(.xlsm)は、マクロが保存されない
- 保存後に、シートの数と内容を確かめる
他の形式のとき
- .xlsm(マクロ付き):.xlsx で保存し直してから使う。
- .csv:もともと1シート分のため、分ける必要はない。
- Googleスプレッドシート:Excel形式でダウンロードしてから使う。
向いている場面
- 古いシステムから出力された .xls を、整理したい
- 昔の集計ファイルを、シートごとに保管したい
例
10年前の .xls のファイルを、シートごとのCSVにしたかった。Excelで .xlsx に保存し直してから、このツールで分けた。
つまずきやすい点
- 「処理できません」と出る:.xls や、壊れたファイルの可能性。
- シートが足りない:保存し直した際に、非表示のシートが消えていないか確かめる。
よくある質問
拡張子を .xlsx に書き換えれば、使えますか?
いいえ。中身の形式が違うため、使えません。
まとめ
.xls は、Excelで .xlsx に保存し直してから。
Excelをシートごとに分けるを使う(無料)あわせて使えるツール
- ExcelをCSV・JSONに変換する:Excelのシートを、CSV・TSV・JSONに変換します。
- CSVをExcelファイルにする:CSVを、Excelで開ける .xlsx ファイルにします。
- Excelの計算式を値にする:Excelの計算式を消して、結果の値だけにします。
同じツールの、ほかの解説
When the File Is an Old .xls
Key points
- Open
- Re-save
You want to split an old-format .xls file by sheet. Split an Excel File by Sheet targets .xlsx files. A .xls file as it is may not be usable.
Supported formats
- Supported: .xlsx
- Not supported: .xls (old format)
How to turn .xls into .xlsx
- Open the .xls file in Excel.
- Choose "Save As".
- Set the file type to "Excel Workbook (.xlsx)" and save.
- Open the saved .xlsx in this tool.
Changing only the extension doesn't work. Always re-save in Excel.
Notes when re-saving
- Keep the original .xls file as it is
- Macro-enabled files (.xlsm) lose their macros
- After saving, check the number and contents of sheets
For other formats
- .xlsm (with macros): re-save as .xlsx, then use.
- .csv: already one sheet's worth, so no need to split.
- Google Sheets: download in Excel format, then use.
Good for
- Tidying .xls output from old systems
- Storing old summary files by sheet
Example
Wanted a 10-year-old .xls file as per-sheet CSVs. Re-saved as .xlsx in Excel and then split with this tool.
Common stumbling blocks
- "Could not process" appears: may be .xls or a broken file.
- Sheets are missing: check whether hidden sheets were lost when re-saving.
Frequently asked questions
Can I just rename the extension to .xlsx?
No. The internal format differs, so it won't work.
Summary
For .xls, re-save as .xlsx in Excel first.
Use "Split an Excel File by Sheet" (free)Tools that go well with this
- Convert Excel to CSV or JSON: Convert an Excel sheet to CSV, TSV or JSON.
- Convert CSV to Excel (.xlsx): Convert a CSV to an Excel (.xlsx) file.
- Convert Excel Formulas to Values: Replace Excel formulas with their values.