Excel OFFSET Function

Summary

The Excel OFFSET function returns a reference to a range constructed in parts: a starting point, a row and column offset, and a final height and width in rows and columns. OFFSET is handy in formulas that dynamically average or sum "last n values".

Purpose

Create a reference offset from given starting point

Return value

A cell reference.

Syntax

=OFFSET (reference, rows, cols, [height], [width])

Arguments

Usage notes

OFFSET returns a reference to a range that is offset from a starting point in a worksheet. The starting point can be one cell or a range of cells, and the offset is supplied as rows or columns "offset" from the starting point. The height and width arguments are optional and determine the size of the reference that is created.

OFFSET can be used to build a dynamic named range for charts or pivot tables, to make sure that source data is always up to date.

 

Excel OFFSET Function

Summary

The Excel OFFSET function returns a reference to a range constructed in parts: a starting point, a row and column offset, and a final height and width in rows and columns. OFFSET is handy in formulas that dynamically average or sum "last n values".

Purpose

Create a reference offset from given starting point

Return value

A cell reference.

Syntax

=OFFSET (reference, rows, cols, [height], [width])

Arguments

Usage notes

OFFSET returns a reference to a range that is offset from a starting point in a worksheet. The starting point can be one cell or a range of cells, and the offset is supplied as rows or columns "offset" from the starting point. The height and width arguments are optional and determine the size of the reference that is created.

OFFSET can be used to build a dynamic named range for charts or pivot tables, to make sure that source data is always up to date.