INDEX Function (LibreOffice Calc)
Learn the INDEX function in LibreOffice Calc: Returns a reference to a cell from a defined range.
Verification status: Selected examples were executed in LibreOffice Calc 25.2. Other examples may rely on documentation or independent calculations. How formula examples are checked
Availability and version history
- Introduced: Documented by LibreOffice 26.8.1.1; original introduction not established.
- Availability: Supported in LibreOffice 26.8.1.1, verified against its function registry. This identifies a supported release, not a final working version.
- Scope: Desktop Calc, using the English function name. Availability in other spreadsheet applications is separate.
- Checked: 2026-10-14 — function reference; versioned support. Documentation/source check; not a new native test. Existing example-specific test claims below retain their stated scope.
Editorial status: The existing content-review hold is preserved. Availability confirmation does not approve replacing or promoting this guide.
The INDEX function in LibreOffice Calc is used for this task: Returns a reference to a cell from a defined range. Retrieve the third number from a vertical range.
This guide explains how to read the formula, reproduce a concrete example, interpret its result and recognize common input mistakes.
Syntax and arguments
INDEX(reference; [row]; [column]; [range])
| Argument | Required? | Meaning |
|---|---|---|
Reference |
Yes | The reference to a (multiple) range. |
Row |
Optional | The row in the range. |
Column |
Optional | The column in the range. |
Range |
Optional | The index of the subrange if referring to a multiple range. |
Calc formulas normally use semicolons (;) between arguments in common configurations; the displayed separator may depend on settings or locale.
Worked example
Use this small practice sheet for the ranges referenced in the formula:
| Row | A (Quantity) | B (Amount) | C (Category) |
|---|---|---|---|
| 1 | 1 | 10 | apple |
| 2 | 2 | 20 | pear |
| 3 | 3 | 30 | apple |
| 4 | 4 | 40 | pear |
| 5 | 5 | 50 | apple |
=INDEX(B1:B5;3)
Expected result: 30.
Why it works: Retrieve the third number from a vertical range. The specified sample table supplies the referenced cells.
How to use it in your own spreadsheet
- Identify the cells or inputs that correspond to the sample values above.
- Enter the formula in an empty cell, changing the references or literal values to match your sheet.
- Compare the output with a manual check on a small known example.
- Extend the formula to a larger dataset only after you understand the result.
Common problems and practical checks
- Use the correct lookup column or return range, and use exact-match options where appropriate.
- Check for duplicate keys, leading spaces and numbers stored as text in lookup data.
- A pasted formula may produce an error when it uses the other program’s argument separator or unsupported options.
Related functions
Documentation and verification
- LibreOffice Calc Help
- The standalone example was calculated using LibreOffice Calc 25.2.3.2 on October 9, 2026 and its computed result matched the expected value. This does not certify every option, version, or other example.