古い .xls ファイルのとき
- 開く
- 保存し直す
古い形式の .xls ファイルを、値にしたいことがあります。Excelの計算式を値にする は、.xlsx 形式のファイルを対象にしています。.xls のままでは、処理できない場合があります。
対応している形式
- 対応:.xlsx
- 対応していない:.xls(古い形式)
処理できないときは、「処理できませんでした。ファイルが壊れているか、対応していない形式です。」と表示されます。
.xls を .xlsx にする方法
- .xls ファイルを、Excelで開く。
- 「名前を付けて保存」を選ぶ。
- ファイルの種類を、「Excelブック(.xlsx)」にして保存する。
- 保存した .xlsx を、このツールで変換する。
変換のあとに確認すること
- 数式が、正しく計算されているか
- マクロが入っていないか(.xlsx には、マクロは保存されません)
- 書式や罫線が、保たれているか
向いている場面
- 古いシステムから出力された、.xls ファイルの整理
- 昔作ったファイルの、値だけの保存
他の形式のとき
- .xlsm(マクロ付き):.xlsx で保存し直してから、試す。
- .csv:もともと値だけのため、変換は不要。
- Googleスプレッドシート:Excel形式でダウンロードしてから、試す。
例
昔のシステムから出力された .xls を、取引先に値で渡したかった。Excelで .xlsx に保存し直してから、このツールで変換して、渡した。
つまずきやすい点
- 「処理できませんでした」と出る:.xls や、壊れたファイルではないか、確認する。
- 拡張子だけ変えても、使えない:必ず、Excelで保存し直す。
よくある質問
拡張子を .xlsx に書き換えれば、使えますか?
いいえ。中身の形式が違うため、使えません。Excelで保存し直します。
まとめ
.xls は、Excelで .xlsx に保存し直してから。
Excelの計算式を値にするを使う(無料)あわせて使えるツール
- ExcelをCSV・JSONに変換する:Excelのシートを、CSV・TSV・JSONに変換します。
- CSVをExcelファイルにする:CSVを、Excelで開ける .xlsx ファイルにします。
- Wordから文字を取り出す:Wordファイルの本文を、文字だけで取り出します。
同じツールの、ほかの解説
When the File Is an Old .xls
- Open
- Re-save
You may want to turn an old-format .xls file into values. Convert Excel Formulas to Values targets .xlsx files. A .xls file as it is may not be processable.
Supported formats
- Supported: .xlsx
- Not supported: .xls (old format)
When it can't process, it shows "Could not process. The file is broken or in an unsupported 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.
- Convert the saved .xlsx with this tool.
What to check after converting
- Are formulas calculated correctly?
- Are there macros? (.xlsx does not store macros)
- Are formatting and borders kept?
Good for
- Tidying .xls files output from old systems
- Saving old files as values only
For other formats
- .xlsm (with macros): re-save as .xlsx, then try.
- .csv: already values only, so no conversion needed.
- Google Sheets: download in Excel format, then try.
Example
Wanted to hand a client an .xls output from an old system as values. Re-saved as .xlsx in Excel, converted with this tool and handed it over.
Common stumbling blocks
- "Could not process" appears: check it isn't .xls or a broken file.
- Changing only the extension doesn't work: always re-save in Excel.
Frequently asked questions
Can I just rename the extension to .xlsx?
No. The internal format differs, so it won't work. Re-save in Excel.
Summary
For .xls, re-save as .xlsx in Excel first.
Use "Convert Excel Formulas to Values" (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.
- Extract Text from a Word File: Extract the plain text from a Word file.