← All functions

XOR

Supported, behaves as documented

Category: Logical · Last tested 2026-08-06

Real, executed compatibility results for the XOR function across Microsoft Excel, Google Sheets, and LibreOffice Calc — verified by actually running it. Syntax and links to each vendor’s official documentation are below.

Support matrix

EngineDocumentedLive-testedVerdict
Excel Yes Not yet n/a
Google Sheets Yes Not yet n/a
LibreOffice Calc Yes Yes (25.8.7.3, 2026-08-06) Supported, behaves as documented

LibreOffice version history

We executed the same test cases under each LibreOffice release to show exactly when XOR’s support changed — not documentation claims, real results.

LibreOffice versionVerdictTested
24.2.0.3 Supported, behaves as documented 2026-07-19
24.8.7.2 Supported, behaves as documented 2026-07-19
25.2.0.3 Supported, behaves as documented 2026-07-24
25.8.7.3 Supported, behaves as documented 2026-08-06

Executed test cases

LibreOffice Calc 25.8.7.3 (tested 2026-08-06)

FormulaDescriptionResultExpectedVerdict
=XOR(TRUE,TRUE,TRUE) An ODD number of TRUE arguments (3) -> TRUE True True
Odd/even TRUE-count rule confirmed via https://support.microsoft.com/en-us/office/xor-function-1548d4c2-5e47-4f77-9a92-0533bba14f37
Matched
=XOR(TRUE,TRUE) An EVEN number of TRUE arguments (2) -> FALSE, matching docs' own example =XOR(3>0,2<9) -> FALSE False False Matched
=XOR(FALSE,FALSE) Zero TRUE arguments counts as even -> FALSE, matching docs' own example =XOR(3>12,4>6) -> FALSE False False Matched
=XOR(TRUE) A single TRUE argument (odd count = 1) -> TRUE True True Matched
=XOR(A1:A3) Numbers in a range are coerced to logical (0=FALSE, nonzero=TRUE); here two nonzero values -> 2 TRUEs (even) -> FALSE False False Matched

Docs & syntax