Show contents 

Building Report for Printing > Building Report > Using Table Sheet > Adding a New Sheet and Working with It > Working with Table Sheet Data > Using Formulas > Function Wizard > Mathematical Functions > RndPermutation

RndPermutation

The function wizard for the RndPermutation function looks as follows:

Syntax

RndPermutation(Value)

Parameters

Value. Dimension of the required array, greatest value in it.Parameter value cannot be less than one.

NOTE. To determine the parameter, specify either the number or the address of the cell where it is located.

Description

It returns an array that is an arbitrary permutation of another array, which elements are integers ranging from 1 to the value of the passed parameter.

Example

Formula Result Description
= RndPermutation(A1) Changes. A random number between one and the value stored in the A1 cell.
= RndPermutation(5) Changes. A random value between 1 and 5.

See also:

Function Wizard │ MathematicalIMath.RndPermutation