Excel vs Google Sheets: the formula compatibility guide

Most Excel-vs-Sheets comparisons argue about collaboration and price. This one covers the part that silently breaks when you switch: the formulas — which functions exist on each side, where the same function behaves differently, and how to keep a workbook portable.

The numbers

Same function, different dialect

The subtler traps are functions both apps HAVE but spell differently:

Keeping a workbook portable

  1. Stick to the shared core — paste any formula into the compatibility checker and it flags every function per app.
  2. Prefer FILTER/SORT/UNIQUE compositions over QUERY, and native ranges over ARRAYFORMULA, when a file might ever leave Sheets.
  3. Avoid the newest Excel exclusives (GROUPBY, PIVOTBY) in files that co-workers will open in Sheets.
  4. Test the round trip: export, reopen, and search for #NAME? and #REF!.

Where LibreOffice fits

LibreOffice Calc reads both formats and — unlike either vendor’s docs — we can actually EXECUTE formulas in it: 215 functions live-tested across 24.2.0.3, 24.8.7.2, 25.2.0.3, 25.8.7.3. Its modern-function support now tracks Excel closely (XLOOKUP since 24.8, the dynamic-array batch since 25.8 — see support by version), and several “Excel-only” functions like AGGREGATE work fine there, making it a viable escape hatch for files Sheets can’t fully open.

Every claim here is backed by the underlying pages: per-function verdicts, behavioral quirks, and the verification methodology.