TX Sheet Control

TAKE Function

Function

Return a number of rows or columns from the start or end of an array. rows is the number of rows to keep from the top, or from the bottom when it is negative, and columns the number of columns from the left or from the right. A number larger than the array keeps the whole array, and 0 returns #CALC!. The result spills into the neighboring cells. In TX Sheet Control, rows can't be omitted: TAKE(array,,1) returns #CALC!.

Syntax

TAKE(array, rows, columns)

Category: Lookup. Minimum arguments: 2. Maximum arguments: 3.

Available for supported offline calculation.

Examples

=TAKE({1,2;3,4},1)

The formula spills 1 and 2, the first row of the array.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also