Home › Functions › Math & Trig › RANDBETWEEN
fx
RANDBETWEEN
Math & Trig  ·  Since: Excel 2003  ·  9 languages

Returns a random integer number between the numbers you specify. A new random integer number is returned every time the worksheet is calculated.

🌐 Translations

English RANDBETWEEN
Deutsch ZUFALLSBEREICH
Français ALEA.ENTRE.BORNES
Español ALEATORIO.ENTRE
Italiano CASUALE.TRA
Português ALEATÓRIOENTRE
Nederlands ASELECTTUSSEN
Polski LOS.ZAKR
Русский СЛУЧМЕЖДУ

📦 Availability

Excel versionAvailable
Excel 2007 ✓
Excel 2013 ✓
Excel 2019 ✓
Excel 2021 ✓
Microsoft 365 ✓
Translate a formula with this function
fx EN
fx DE

⌨ Syntax

RANDBETWEEN(bottom,top)

Arguments

bottom (required) — The smallest integer RANDBETWEEN will return.
top (required) — The largest integer RANDBETWEEN will return.

▶ Examples

=RANDBETWEEN(-1,1)
=RANDBETWEEN(1,100)

Related functions

Copied to clipboard