← All functions

RANDBETWEEN

Quirk found

Category: Math and trigonometry · Last tested 2026-07-04

Support matrix

EngineDocumentedLive-testedVerdict
Excel Yes Not yet n/a
Google Sheets Yes Not yet n/a
LibreOffice Calc Yes Yes (24.2.7.2, 2026-07-04) Quirk found

Executed test cases

LibreOffice Calc 24.2.7.2 (tested 2026-07-04)

FormulaDescriptionResultExpectedVerdict
=RANDBETWEEN(1,10) Existence probe: confirm recognized and result plausible (integer 1..10) 2
Non-deterministic by design; harness should only check 1<=value<=10 and absence of #NAME?
Mismatch
=RANDBETWEEN(5,5) When bottom==top the result is deterministic 5 5 Matched
=RANDBETWEEN(-5,-1) Existence probe with an all-negative range -2
Non-deterministic; harness should only check -5<=value<=-1
Mismatch

Docs & syntax