Excel Function

RANDBETWEEN

Returns random integer between two numbers.

RANDBETWEEN(bottom, top)

Arguments

bottom

Required

Enter a numeric value.

top

Required

Enter a numeric value.

Practice Preview

Use RANDBETWEEN to return the result with these settings (Bottom value: 1, Top value: 100).

Example Table

#
ASlip ID
BUnit Price
CQuantity
DAmount
2S001120.53361.5
3S00298.25491
4S003450.72901.4
5S004300.441201.6
6S005150.96905.4
7
8

How to Use (Formula)

=RANDBETWEEN(1, 100)

Result

50

Practice This Function

RANDBETWEEN FAQ

How do I use RANDBETWEEN in Excel?

Use RANDBETWEEN when you want to generate a random number between two limits. Enter Bottom value, Top value in that order, then add optional arguments when needed.

Where can I practice RANDBETWEEN?

Use the "Start Function Practice" button to jump straight into RANDBETWEEN drills.

What arguments does RANDBETWEEN use?

The main arguments are Bottom value, Top value. Enter them in order.