Contingut

# RANDARRAY

Genera una matriu de nombres aleatoris entre dos valors límit.

### Sintaxi

RANDARRAY([Rows [; Columns [; Min [; Max [; Integers] ] ] ])

Rows: (optional) the number of rows to return. If omitted, the value is 1.

Columns: (optional) the number of columns to return. If omitted, the value is 1.

Min: (optional) The lower limit of the generated numbers. If omitted, the minimum value is 0.

Max: (optional) The upper limit of the generated numbers. If omitted, the maximum value is 1.

Integers: (optional) returns whole numbers (TRUE) or decimal numbers (FALSE). Default is FALSE.

If Rows and Columns are greater than 1, the RANDARRAY function must be entered as an array formula.

If Rows or Columns are references to the content of other cells, the array dimensions do not change when the referenced content changes. The array formula must be deleted and re-entered.

Es pot ometre qualsevol dels arguments opcionals. Un argument opcional requereix que tots els separadors anteriors estiguin presents.

### Exemples

{=RANDARRAY(10;4;10;50;1)} returns an array of 10 rows, 4 columns with minimum value 10 and maximum value of 50 of whole numbers (integers).

#### Informació tècnica

Aquesta funció és disponible des de la versió 24.8 del LibreOffice.

This function is NOT part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.RANDARRAY

Temes relacionats

ALEATENTRE, ALEATENTRE.NV, RAND, RAND.NV

RANDARRAY wiki page.