Description
The Excel Randbetween function generates a random integer between two given integers.
The syntax of the function is :
RANDBETWEEN( bottom, top )
where the bottom and top arguments are integers representing the lower and upper limits for the generated random number.
These arguments can be supplied to the function as either simple numbers, references to cells containing numbers, or as values returned from other functions or formulas.
Randbetween Function Examples
The spreadsheet below shows two examples of the Excel Randbetween function used to generate random numbers.
Note that the above formulas will return a different random number every time the spreadsheet recalculates. To force a recalculation at any time, press the F9 key.
Randbetween Function Errors
If you get an error from the Excel Randbetween function, this is likely to be one of the following :
Common Errors
No comments:
Post a Comment