Home › Functions › Math & Trig › RANDARRAY
fx
RANDARRAY
Math & Trig  ·  Since: Microsoft 365  ·  9 languages

The RANDARRAY function returns an array of random numbers. You can specify the number of rows and columns to fill, minimum and maximum values, and whether to return whole numbers or decimal values.

🌐 Translations

English RANDARRAY
Deutsch ZUFALLSMATRIX
Français TABLEAU.ALEAT
Español MATRIZALEAT
Italiano RANDARRAY
Português RANDARRAY
Nederlands RANDARRAY
Polski RANDARRAY
Русский СЛМАССИВ

📦 Availability

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

⌨ Syntax

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

Arguments

rows (optional) — The number of rows to be returned
columns (optional) — The number of columns to be returned
min (optional) — The minimum number you would like returned
max (optional) — The maximum number you would like returned
integer (optional) — Return a whole number or a decimal value TRUE for a whole number FALSE for a decimal number

▶ Examples

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

Related functions

Copied to clipboard