Contact

LOOKUP Function in Calligra Sheets: Syntax, Examples and Compatibility

Lookup Intermediate Calligra Sheets

Use LOOKUP in Calligra Sheets to find an approximate match in a sorted key column and return a corresponding category. Two original examples, expected results, cautions and official software documentation.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: find an approximate match in a sorted key column and return a corresponding category in Calligra 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 Calligra Sheets test results. A guide being published here does not certify every software release or file-import scenario.

Availability and version history

  • Introduced: Documented by 26.08.2; original introduction not established.
  • Availability: Supported in Calligra Sheets 26.08.2, based on the function-specific registration.
  • Scope: The official application listing provides Linux installation; other packaged builds are unverified here.
  • Checked: October 14, 2026. Documentation/source check; no new native test in Calligra Sheets 26.08.2.

Syntax and arguments

=LOOKUP(lookup_value; lookup_vector; result_vector)

All three arguments are required in Calligra Sheets 26.08.2. The keys should be in ascending order, and the lookup and result ranges must have the same dimensions. The function returns the aligned value for the last key not greater than the search. Exact three-argument registration; release evaluator.

Best use case: Find an approximate match in a sorted key column and return a corresponding category.

Set up the example sheet

Enter the following small table, sorted by the minimum score:

Row A: threshold B: grade
2 0 Low
3 50 Medium
4 80 High
5 95 Elite

Enter the formula in an unused cell. 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: LOOKUP with known input

=LOOKUP(72;A2:A5;B2:B5)

Expected output: Medium.

72 lies between the sorted thresholds 50 and 80, so the category associated with 50 is returned.

Worked example 2: a second LOOKUP case

=LOOKUP(98;A2:A5;B2:B5)

Expected output: Elite.

The highest threshold not exceeding 98 is 95.

Compare both results before replacing literal values or short sample ranges with your own workbook data. Keep the lookup and result ranges aligned when adding or removing data rows.

Practical advice and troubleshooting

For an exact match: Use MATCH with its third argument set to 0, then pass the position to INDEX. With the table above, =INDEX(B2:B5;MATCH(80;A2:A5;0);1) has independently expected result High. The final 1 is INDEX’s required column number within the one-column result range. Exact MATCH does not require sorting; approximate LOOKUP does. XLOOKUP is not a registered built-in name in the examined 26.08.2 function set. INDEX arguments; MATCH exact-match branch.

Important edge case: This is an approximate sorted lookup: unsorted thresholds can return a plausible but wrong answer.

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. An error that looks like a missing function may reflect a software version rather than incorrect data.

Compatibility and version considerations

Calligra’s LOOKUP requires a result range; do not import another program’s optional-result-range syntax by analogy. Semicolon argument syntax is used. The Excel/Google comparison is background only, not a claim of identical behavior in Calligra Sheets.

Check your installed release when exchanging formulas with another program.

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.

Formula separator: These examples use semicolons for the function-argument separators. Locale settings can change entry conventions.

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.