Open XLS and XLSX files in Calc
Calc is the spreadsheet application in LibreOffice. If you need to install the suite or choose an operating system and CPU version, start with the LibreOffice official download guide. This article covers opening, editing, and saving spreadsheets after installation.
For an existing Excel file, choose File → Open and select the XLS or XLSX file. LibreOffice’s official help identifies Calc as the module for these formats. For a blank sheet, start a new spreadsheet in Calc.
Check the filename, sheet list, and contents, and keep a separate original. Follow your organization’s document and retention rules for work files. Do not enable macros or external data connections just because an unfamiliar file asks you to.
Enter cells and check a simple sum
Columns are labeled A, B, C, and rows 1, 2, 3. B2 means column B, row 2; B2:B4 is the range from B2 through B4. Select a cell, enter a value or formula, and press Enter. Formulas begin with =.
This simple example helps distinguish a formula from its result.
| Cell | What to enter | What to check |
|---|---|---|
| A1 | Item | A heading for the table |
| B1 | Quantity | The column for numbers |
| B2, B3, B4 | 2, 3, and 4 respectively | A number in each cell |
| B5 | =SUM(B2:B4) | A total of 9 |
Select the formula cell and check for the formula itself in the input line, separately from the result displayed in the cell. If the total is unexpected, check the range and whether numbers were entered as text. SUM ignores text and empty cells within the referenced range.
Garbled Korean text or lost leading zeros in a CSV file involve separate import settings. See the CSV encoding and column-format guide; do not confuse CSV import with the XLSX saving steps here.
Save an ODS original and a separate XLSX sharing copy
First keep an ODS original for continued editing, then make an XLSX copy for Excel users. Choose a format that meets the recipient’s submission requirements.
| Purpose | Format | What to check |
|---|---|---|
| Continue editing in Calc | ODS original | Name, folder, and sheets |
| Share with Excel users | XLSX copy | Formulas, charts, and formatting |
| Submit a finished document | Export as PDF | Range and page count |
- After editing, choose File → Save As, then select the original’s folder, name, and ODS file type.
- If you need a sharing copy, open Save As again and select an Excel XLSX file type.
- Give it a different name, such as
quantities-share.xlsx. If a format-retention or conversion warning appears, confirm which output format you need before choosing. - Reopen the XLSX and compare its sheets, formulas, charts, and formatting. If you later edit the original, make a new sharing copy too.
After Save As, the active file may be the sharing copy. To keep editing the ODS original, check the window’s filename and path and reopen that original. Changing the extension alone does not convert ODS to XLSX.
Check Excel compatibility using the features you actually need
Official help warns that some features and formatting may differ even when a file can be opened and saved. Do not convert all your work files merely because Calc is described as an Excel alternative.
- Calculations: compare important formulas’ ranges, results, and errors with the original.
- Appearance: check fonts, column widths, number and date formats, and conditional formatting.
- Objects: check charts, pivot tables, form controls, and linked objects.
- Macros: VBA and LibreOffice’s macro environments are different. Assess compatibility separately from normal cell editing; do not start by lowering security settings to make a macro run.
For important shared files, check them in the Excel environment the recipient will use, if possible. If an essential feature behaves differently, consult the official guidance for that environment and retain the original.
Check print ranges and PDF output
To print part of a sheet, select the cells and use Format → Print Ranges → Define in the menu interface. View → Page Break Preview lets you check the printable area and where pages split.
How a print range affects other sheets depends on the file format. Official help states that other sheets without a print range can also be printed or exported to PDF in Excel-format files. Defining a range on the current sheet does not necessarily exclude every other sheet.
- Check the required sheets, cell ranges, and page breaks.
- Open Export as PDF from the File menu; in the menu interface, use File → Export As → Export as PDF. This is different from saving an XLSX with Save As.
- Check the PDF export range and relevant options, then create the file.
- Open the entire PDF and confirm that it contains the intended sheets and pages, with nothing cut off at the right or bottom of a table.
Keep the editable spreadsheet original as well as the PDF. This guide is based on official help; it is not a report of testing your work files, macros, or print output.
Official sources
- LibreOffice — open Excel files and save in other formats ↗
- Calc — entering formulas ↗
- SUM — cell ranges and text handling ↗
- Office conversion — Excel compatibility limits ↗
- Print ranges — other-sheet exceptions with Excel format ↗
- PDF export — range and options ↗
