FormulaCraft

RANDARRAY

RANDARRAY generates a dynamic array of random values with control over the grid dimensions, minimum, maximum, and whether results are integers or decimals. It is a modern dynamic-array function available in Excel 365 and Google Sheets, recalculating on every change.

Topic:SaaS metrics
Excel
=RANDARRAY(4,2,1,100,TRUE)
Google Sheets
=RANDARRAY(4,2,1,100,TRUE)

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

How it works

  1. 14 is the number of rows to generate; 2 is the number of columns.
  2. 21 and 100 are the minimum and maximum values of the random numbers.
  3. 3TRUE requests whole integers; FALSE (or omitted) returns decimals.

Need a version for your data?

Try: “Generate a 4-row by 2-column grid of random integers between 1 and 100

More on SaaS metrics

See all →

Related

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: