FIND Function (Gnumeric)
Learn the FIND function in Gnumeric: Looks for a string of text within another (case sensitive).
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
The FIND function in Gnumeric is used for this task: Looks for a string of text within another (case sensitive). Find a case-sensitive substring in longer text.
This guide explains how to read the formula, reproduce a concrete example, interpret its result and recognize common input mistakes.
Availability and version history
- Introduced: Official NEWS records implementation in Gnumeric 0.19; historical releases were not executed here.
- Availability: Supported in Gnumeric 1.12.62, based on the function-specific registration.
- Scope: Desktop; the fn-string function module must be included and enabled.
- Checked: Fresh official 1.12.57 source and bounded 1.12.57 native checks on October 17, 2026. Retained 1.12.62 availability registration is separate; no 1.12.62 runtime claim. Last functioning release was not established.
Syntax and arguments
=FIND(string1,string2,[start])
string1 is the literal substring to search for; string2 is the text to search within. start is an optional one-based character position and defaults to 1. FIND is case-sensitive. It returns the first matching position at or after start, measured from the beginning of the original text, not from the shortened search region. It is a literal search: * is an asterisk, not a wildcard.
The inspected 1.12.57 callback requires start at least 1 and strictly less than text length plus 1. It truncates a valid fractional start before indexing. Use integer positions for reproducibility.
Worked example
=FIND("cat","bobcat")
Expected result: 4.
Why it works: Find a case-sensitive substring in longer text.
Search-position examples
| Formula | Expected result |
|---|---|
=FIND("cat","bobcat") |
4 |
=FIND("Cat","bobcat") |
#VALUE! |
=FIND("a","banana",3) |
4 |
=FIND("*","a*b") |
2 |
=FIND("","abc",2) |
2 |
=FIND("","",1) |
#VALUE! |
In banana, the a positions are 2, 4 and 6. Starting at 3 excludes the first match but returns the original-string position 4. The empty-needle examples intentionally expose Gnumeric’s start-boundary rule: an empty non-searchable field still fails validation.
For a synthetic product code AA-007 in A2, =FIND("-",A2) is expected to return 3. That position can help split a prefix from a suffix, provided the input format contains the separator. A second separator requires another search beginning after the first position; FIND does not return all matches at once.
Advanced use: distinguish absence from malformed input
An absent substring and an invalid starting position can both produce #VALUE!. Do not automatically label every such error “not found” without checking the start argument and source cell. For a parsing pipeline, validate the input pattern first, then extract the pieces. Keep an exception column for records with no separator or an unexpected number of separators.
FIND works in character positions using UTF-8-aware offsets, while matching the literal string. Visual similarity, capitalization, spacing and composed/decomposed Unicode forms can therefore matter. The safe native fixture uses simple ASCII cases; do not assume every visually identical representation matches.
Common problems and practical checks
- Case differences are significant: Cat does not match cat.
- start is one-based and inclusive. Zero is not the first character.
- The returned position is relative to the complete original field even when searching later in it.
- No match, start below 1, or start beyond the accepted text boundary yields #VALUE! in the scoped implementation.
- Asterisks and question marks are searched literally; choose a different search function if pattern matching is intended and verify its contract.
- The official NEWS lists FIND implementation in 0.19 and later fixes in 0.65. These establish documented history, not an exhaustive test of old releases.
Related functions
Documentation and verification
- Gnumeric official function catalog
- Historical notes reported a comparable LibreOffice Calc 25.2 example; that was not Gnumeric verification. The present listed scalar fixtures were separately recalculated with Gnumeric ssconvert 1.12.57 under C.UTF-8. Broader edge-case explanations are source-derived, and no GUI or screenshot is claimed.
- Official 1.12.57 string help and implementation.