NTH

Returns the nth element of a given column

NTH( column, index)

Returns the nth element of a given column

NTH() and INDEX() are aliases of each other.

Inputs

Input

Description

column

Column of any type

index

Index of element to return. Index of 1 returns the first element. index must be within the length of column, otherwise returns an error.

Output

Element within column defined by index

Example

Last updated