Articles with the tag:
Close
Changelog
Close
Articles with the tag:
Close
Try in the cloud

RANDARRAY Function

The RANDARRAY function is one of the math and trigonometry functions. It is used to return an array of random numbers and can be configured to fill a certain number of rows and columns, set a range for values, or return whole/decimal numbers.

The RANDARRAY function syntax is:

RANDARRAY([rows],[columns],[min],[max],[whole_number])

where

rows is an optional argument indicating the number of rows to be returned. If the argument is not given, the function will return a value between 0 and 1.

columns is an optional argument indicating the number of columns to be returned. If the argument is not given, the function will return a value between 0 and 1.

min is an optional argument indicating the minimum number to be returned. If the argument is not given, the function will default to 0 and 1.

max is an optional argument indicating the maximum number to be returned. If the argument is not given, the function will default to 0 and 1.

whole_number is an optional TRUE or FALSE argument. If TRUE, the function will return a whole number; FALSE will return a decimal one.

To apply the RANDARRAY function,

  1. select the cell where you wish to display the result,
  2. click the Insert function Insert function icon icon situated at the top toolbar,
    or right-click within a selected cell and select the Insert Function option from the menu,
    or click the Function icon icon situated at the formula bar,
  3. select the Math and trigonometry function group from the list,
  4. click the RANDARRAY function,
  5. enter the arguments separating them by commas,
  6. press the Enter button.

The result will be displayed in the selected cell.

RANDARRAY Function

Return to previous page
Try now for free Try and make your decision No need to install anything
to see all the features in action