← All functions

LET

Supported, behaves as documented

Category: Logical · Last tested 2026-08-06

Real, executed compatibility results for the LET 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.

✓ Supported in LibreOffice since 24.8.7.2. We ran LET under every LibreOffice release we test (24.2.0.3, 24.8.7.2, 25.2.0.3, 25.8.7.3): it returned #NAME? (unrecognized) in 24.2.0.3 and first works in 24.8.7.2. If you need LET in LibreOffice Calc, use 24.8.7.2 or newer.

Support matrix

EngineDocumentedLive-testedVerdict
Excel Yes Not yet n/a
Google Sheets Yes Not yet n/a
LibreOffice Calc No 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 LET’s support changed — not documentation claims, real results.

LibreOffice versionVerdictTested
24.2.0.3 Unsupported (not recognized) 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

Why isn't LET working in LibreOffice?

If LET returns a #NAME? error in LibreOffice Calc, you are almost certainly running a release older than 24.8.7.2 — that is exactly what our executed tests show: #NAME? in 24.2.0.3, working from 24.8.7.2 onward. Check your version under Help → About LibreOffice and upgrade to 24.8.7.2 or newer; no setting or extension enables it in older releases. (Other causes of this error: see the error values guide.)

Executed test cases

LibreOffice Calc 25.8.7.3 (tested 2026-08-06)

FormulaDescriptionResultExpectedVerdict
=LET(x,5,x*2) Single binding used in the calculation 10 10 Matched
=LET(a,2,b,a*3,a+b) Later bindings can reference earlier ones in the same LET 8 8 Matched
=LET(rng,{1,2,3},SUM(rng)) LET can bind an array literal and pass it to another function 6 6 Matched
=LET(x,5,y,x*2) Odd total arg count (missing final calculation expression) is a syntax/value error #VALUE! #VALUE!
LET requires pairs plus a trailing calculation; here the last pair has no calc term following it in this deliberately malformed call
Matched

Docs & syntax