OFFSET

returns reference offset from starting point · from excel · excel: not yet compared · sheets: not yet compared

signature

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

returns: reference

argumentrequired
reference required
rows required
cols required
height optional · defaults to 3
width optional · defaults to 2

examples

formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.

A
1 10
fx =OFFSET(A1, 1, 1) 0
fx =SUM(OFFSET(A1, 0, 0, 3, 1)) 10

related

  • ADDRESS returns a cell address as text from row and column numbers
  • AREAS returns the number of areas in a reference
  • HLOOKUP searches first row and returns matching value
  • HYPERLINK the text a link displays — clickability is the renderer's
  • INDEX returns value at row and column in range
  • INDIRECT returns reference specified by text string