Contact

OFFSET Function in Google Sheets: Syntax, Examples & Compatibility

Lookup Intermediate Google Sheets

Learn how to return a cell or rectangular range shifted from a starting cell in Google Sheets. Includes syntax, two verified-by-reasoning results, troubleshooting and portability notes.

Verification status: Official documentation referenced; example outcomes independently reasoned or arithmetically checked where stated. Not executed in Google Sheets. How formula examples are checked

Quick answer: return a cell or rectangular range shifted from a starting cell in Google Sheets. The reproducible examples below use explicit values so the formula’s meaning is testable without a large workbook.

Evidence: The function name and syntax are documented in the linked vendor function reference. Expected outputs were independently reasoned or checked outside the application. These are not native Google Sheets test results. A guide being published here does not certify every software release or file-import scenario.

Syntax and arguments

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

Offsets can be positive or negative. The optional dimensions describe the size of the returned reference.

Best use case: Return a cell or rectangular range shifted from a starting cell.

Set up the example sheet

On a new sheet enter B2 = 10, B3 = 42, and B4 = 15. The initial reference in these examples is B2.

Enter the formula in an unused cell. For a formula returning several values, leave an unobstructed area where those values can expand. These formulas use comma argument separators in a typical English-language locale; commas or semicolons inside quoted text are data, not argument separators. Adapt the separator if your regional settings require it.

Worked example 1: OFFSET with known input

=OFFSET(B2,1,0)

Expected output: 42.

One row below B2 and zero columns to the right is B3.

Worked example 2: a second OFFSET case

=SUM(OFFSET(B2,0,0,3,1))

Expected output: 67.

The 3-row by 1-column reference starts at B2 and includes B2:B4, totalling 10 + 42 + 15.

Compare both results before replacing literal values or short sample ranges with your own workbook data. For a spilling formula, compare every output cell, not only the top-left result.

Practical advice and troubleshooting

When this formula helps: OFFSET is handy for dynamically sized windows but can be volatile. INDEX-based references are worth considering in large calculation models.

Important edge case: An offset that points outside the sheet can return a reference error; it does not wrap to another row.

If the result differs, first verify the text-versus-number types of the input cells, the argument separators for your locale, and the range size. For dynamic arrays, inspect occupied cells in the output area. An error that looks like a missing function may reflect a software version rather than incorrect data.

Compatibility and version considerations

Semantics depend on whether an imported formula expects a value or a reference. Recheck results after format conversion.

Check your installed release for availability and dynamic-array support.

Function availability and parameter behavior must be judged for the specific application and release; a function documented in one spreadsheet does not automatically work in another.

Editorial verification: Vendor catalogue referenced as of 2026-10-12. The two example outputs are independently reasoned; no native application run, screenshot, or version-specific output is claimed. Review the editorial testing standards if you require stronger proof before importing a workbook.