← All functions

AND

Supported, behaves as documented

Category: Logical · Last tested 2026-08-06

Real, executed compatibility results for the AND 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 AND’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
=AND(TRUE,TRUE) Both arguments TRUE -> TRUE True True Matched
=AND(TRUE,FALSE) One argument FALSE -> FALSE False False Matched
=AND(A1:A3) A range of numbers is coerced to logical values (0=FALSE, nonzero=TRUE); one zero makes the whole AND FALSE False False
Numeric coercion in ranges confirmed via https://www.ablebits.com/office-addins-blog/excel-and-or-xor-not-functions/ since Microsoft's own AND page doesn't give an explicit numeric example.
Matched
=AND(A1:A3) A range of all-nonzero numbers coerces to all-TRUE -> TRUE True True Matched
=AND(TRUE,"abc") An arbitrary text literal (not a range) does not evaluate to a logical value -> #VALUE!, per doc: 'arguments must evaluate to logical values' #VALUE! #VALUE! Matched

Docs & syntax

Related how-to recipes

Compared against other functions