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