Excel Function - RANDBETWEEN

The RANDBETWEEN function in Excel is used to generate a random integer between two specified values. The syntax for the function is:

RANDBETWEEN(bottom, top)

Where:

  • bottom: The lowest integer that can be returned.
  • top: The highest integer that can be returned.

Note: this is inclusive and only returns integers