XLS Compatibility: Apps, Versions and Common Limits

November 08, 2026 · XLS.now Editorial · XLS Essentials

Understand why a valid XLS file can behave differently across applications and devices.

Platform-Level Behaviour

Windows: Native Support with Feature Stripping

Microsoft Excel for Windows (2007 through 365) opens XLS files through a built-in compatibility layer. Excel 2007 and later treat XLS as a restricted editing mode. When Excel 365 saves a file as XLS, it strips features that lack a BIFF8 representation: data validation rules introduced after Excel 2003, conditional formatting with gradient fills or data bars, and chart types added after Excel 2003 (radar, bubble, stock, treemap) become static images or are discarded. The binary format enforces a hard ceiling of 256 columns (column IV) and 65,536 rows (row 65,536). Any cell reference beyond these bounds cannot be stored and is lost on save.

macOS: Divergent Third-Party Behaviour

Excel for macOS (Office 2019 and later) opens XLS identically to the Windows version. Apple Numbers converts all formulas to static values during import unless the file was saved from a recent Excel version with explicit cross-platform compatibility flags. LibreOffice Calc on macOS renders conditional formatting using an internal 80-colour palette rather than Excel's 56-colour default. This mismatch causes visible shifts in cell shading, particularly for custom colours defined in the XLS palette.

Linux: Reverse-Engineered Parsing

No native XLS support exists on Linux. LibreOffice Calc, Gnumeric, and WPS Office rely on independently written BIFF8 parsers. LibreOffice 7.4 and later implement most documented BIFF8 records. Gnumeric preserves numeric precision beyond Excel's 15-significant-digit limit but omits macro support entirely. Any XLS containing VBA macros opens as a data-only file on Linux. The macros are not executed, and re-saving the file permanently removes the VBA stream.

Application-Specific Feature Support

Microsoft Excel (2003, 2007, 2010, 365)

Feature Excel 2003 Excel 2007+ (XLS mode) Excel 365 (XLS mode)
Maximum rows 65,536 65,536 65,536
Maximum columns 256 256 256
Conditional formatting conditions per cell 3 3 3
PivotTable slicers No No No
Sparklines No No No
Dynamic array formulas No No No

Excel 365 opens an XLS containing a chart with more than 32,000 data points per series, but the chart renders blank. The BIFF8 CHARTFMT record cannot store extended series metadata beyond this limit. The LABEL record used for series names enforces a 255-character maximum; longer names are truncated when the file opens.

LibreOffice Calc

Calc supports DDE links, external workbook references, and most Excel financial functions. Conditional formatting evaluation differs from Excel: Calc applies formatting rules in the order records appear in the file, not the priority order defined in Excel's conditional formatting manager. A cell governed by three conditions may display the wrong format if the file was saved from an Excel version that reordered the condition sequence. Calc ignores VBA macros and displays a warning that Basic macros are not supported. Saving from Calc permanently deletes the macro stream.

Google Sheets

Google Sheets imports XLS through server-side conversion to its internal format. Every open triggers a round-trip conversion; downloading as XLS re-exports the converted data. RAND() recalculates on every cell change in Sheets, whereas Excel recalculates RAND() only on worksheet events. Models that depend on stable random values produce different results after import. Data validation rules that reference other worksheets are dropped during import because Sheets does not support cross-sheet custom validation formulas.

Unsupported Features That Cause Silent Data Loss

These BIFF8 features are valid according to the specification but unimplemented by any non-Microsoft parser:

  • Shared formula groups (SHRFMLA record): Excel stores repeated formulas once and references them from multiple cells. Third-party parsers frequently expand these groups incorrectly, producing #REF! errors in the first row of a duplicated formula block.
  • Embedded bitmaps in cell comments: Excel stores comment images in a separate stream. LibreOffice and Google Sheets display the comment text but discard the image.
  • Merged cell border inheritance: BIFF8 specifies that merged cells inherit the border style of the top-left cell. Gnumeric applies no border to merged regions, leaving tables unformatted.

Observable Validation Checks for xls compatibility apps versions limitations

Run these checks to verify whether an XLS file will behave consistently across applications:

  1. Row and column count: Open the file in Excel and press Ctrl+End. If the last cell exceeds row 65,536 or column IV, data beyond those limits will not survive a save to XLS format.
  2. Conditional formatting rule count: In Excel 2003 or in Excel 365 with the file open in Compatibility Mode, select any cell with conditional formatting. If the Rules Manager shows more than three conditions, the extras are stored in an XML companion stream and will not load in non-Microsoft parsers.
  3. Chart data point count: Right-click a chart series and select "Select Data." If any series references more than 32,000 rows, the chart will render blank in LibreOffice Calc and Google Sheets.
  4. Macro presence: Open the VBA editor (Alt+F11). If any module contains code, the file will lose that code when opened and re-saved in any non-Microsoft application.
  5. External workbook references: Use Formulas > Name Manager to list all defined names. Any name referring to an external workbook (e.g., ='C:\data\[source.xls]Sheet1'!A1) will break in Google Sheets and may resolve incorrectly in Calc if the external file is absent.

Version Detection and BIFF Identifiers

When an application opens an XLS, it reads the BOF (Begin of File) record at the start of the workbook stream. The BIFF version field determines which record set the parser expects:

  • BIFF5 (Excel 5/95): 16,384 rows, 256 columns
  • BIFF8 (Excel 97–2003): 65,536 rows, 256 columns

No current application provides native support for BIFF2 through BIFF4. An XLS saved from Excel 4.0 fails to open in Excel 2007 and later. LibreOffice Calc attempts to parse BIFF4 but often crashes or produces garbled output. The only reliable recovery path is to open the file in Excel 95 or 97 and re-save as BIFF8.

Hard Limits for xls compatibility apps versions limitations

Limit Value Record or Structure
Maximum rows 65,536 BIFF8 row index (16-bit unsigned)
Maximum columns 256 BIFF8 column index (8-bit unsigned)
Maximum characters in a cell 32,767 LABEL / RSTRING record length field
Maximum characters in a formula 8,192 FORMULA record parsed expression
Maximum sheets in a workbook Limited by available memory Bound by BOUNDSHEET record count in the Workbook Globals substream
Maximum conditional formatting rules per cell 3 CF record array size
Maximum data points per chart series 32,000 CHARTFMT record series data capacity
Maximum characters in a chart series name 255 LABEL record in chart substream
Colour palette entries 56 PALETTE record (BIFF8 default)

Cross-Application Compatibility Rule

XLS compatibility depends on the BIFF8 record set a file uses, not on the file extension. A file restricted to core records—ROW, COL, LABEL, FORMULA, BOOLERR, NUMBER—opens correctly in every application that claims XLS support. A file that uses records specific to Excel 2003 and later, such as CFRT for conditional formatting rules or DV for extended data validation, breaks silently in parsers that do not implement those records. The Microsoft specification at MS-XLS §4.1 enumerates every record type. To guarantee cross-application compatibility, restrict the file to record types marked "mandatory" or "recommended" in that document.

Technical basis for XLS Compatibility

Format-level claims use the primary XLS reference.