These docs are for v1.0. Click to read the latest docs for v1.2.

SRANDBETWEEN

Returns a seeded random integer between min and max (inclusive).

Syntax

=SRANDBETWEEN(seed, min, max)

Arguments

ArgumentTypeDescription
seedNumberValue to seed random value
minNumberMin value of range
maxNumberMax value to range

Examples

=SRANDBETWEEN(123456, 1, 6)3