Menu

RANDBETWEEN

Description

Returns a random integer from the specified interval. A new random integer is returned each time the worksheet is recalculated.

Examples

RANDBETWEEN(100, 250) = 213

RANDBETWEEN(250, 100) = 227

RANDBETWEEN(NAN) = RANDBETWEEN(NAN)

RANDBETWEEN(INF) = RANDBETWEEN(INF)

RANDBETWEEN(-INF) = RANDBETWEEN(-INF)

On this page