OFFSET
Applies to PredictiveInsight only.
Syntax
OFFSET(data)
Parameters
data
The values to compute the offset of. This can be a constant value, a column, a cell range, or an expression evaluating to any of the above. For the format definition of data, see the "Macro Function Parameters" section in the chapter in this guide for your IBM® product.
Description
OFFSET returns the values of the specified data range offset from the first value. It returns one new column containing the offset values, beginning with one and continuing to the length of the longest column in the data range.
Examples
Creates a new column named TEMP containing the value one.
Creates a new column named TEMP, where each value is the offset of the column V1, starting with one and ending with the length of the column V1.
Creates a new column named TEMP, where each value is the offset, starting with one and ending with the longest column of V1, V2, or V3.
Related Functions