← All functions

LOG

Quirk found

Category: Math and trigonometry · Last tested 2026-08-06

Real, executed compatibility results for the LOG 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) Quirk found

LibreOffice version history

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

LibreOffice versionVerdictTested
24.2.0.3 Quirk found 2026-07-19
24.8.7.2 Quirk found 2026-07-19
25.2.0.3 Quirk found 2026-07-24
25.8.7.3 Quirk found 2026-08-06

Why isn't LOG working in LibreOffice?

LOG exists in LibreOffice 25.8.7.3, but it is not a drop-in match for Excel — our executed tests found real behavioral differences (detailed in the test results on this page). If a formula that works in Excel or Google Sheets misbehaves in LibreOffice, compare your usage against the failing cases above before assuming your data is wrong.

Discovered quirks

Executed test cases

LibreOffice Calc 25.8.7.3 (tested 2026-08-06)

FormulaDescriptionResultExpectedVerdict
=LOG(100) With base omitted, LOG defaults to base 10 2 2
Microsoft's LOG docs state 'If base is omitted, it is assumed to be 10' -- https://support.microsoft.com/en-us/office/log-function-4e82f196-1ca9-4747-8fb0-6c4a3abb3280
Matched
=LOG(8,2) Explicit base argument: log base 2 of 8 3 3
This is Microsoft's own documented example: '=LOG(8,2), The result, 3, is the power to which the base must be raised to equal 8' -- https://support.microsoft.com/en-us/office/log-function-4e82f196-1ca9-4747-8fb0-6c4a3abb3280
Matched
=LOG(0) Zero is outside LOG's domain -> #NUM! #VALUE! #NUM! Mismatch
=LOG(-10) Negative numbers are outside LOG's domain -> #NUM! #VALUE! #NUM! Mismatch

Docs & syntax