OFFSET Function in LibreOffice Calc: Syntax, Examples and Compatibility
Use OFFSET in LibreOffice Calc to return a cell or rectangular range shifted from a starting cell. Two original examples, expected results, cautions and official software documentation.
Verification status: Official documentation referenced; example outcomes independently reasoned or arithmetically checked where stated. Not executed in LibreOffice Calc. How formula examples are checked
Quick answer: return a cell or rectangular range shifted from a starting cell in LibreOffice Calc. 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 LibreOffice Calc 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 examples use semicolons between formula arguments in the documented Calc-style syntax; adjust separators if your application or regional settings differ.
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. LibreOffice documents OFFSET as recalculated on every recalculation; extensive OFFSET use can increase calculation time.
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
LibreOffice Calc uses semicolon-separated functions in the documented default formula locale. OFFSET is volatile and its output is a reference, not a copied cell value. Semantics depend on whether an imported formula expects a value or a reference. Recheck results after format conversion. The Excel/Google comparison is background only, not a claim of identical behavior in LibreOffice Calc.
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.
Application-specific source note: LibreOffice Calc uses semicolon-separated functions in the documented default formula locale. OFFSET is volatile and its output is a reference, not a copied cell value.
Formula separator: These examples use semicolons for the function-argument separators. Locale settings can change entry conventions.
Related guides and official documentation
-
LibreOffice Calc documentation for OFFSET — function syntax and current vendor information.
Editorial verification: Function name checked in official vendor catalogue on 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.