Contact

EXACT Function (Gnumeric)

Text Beginner Gnumeric

Learn the EXACT function in Gnumeric: Specifies whether two texts are identical.

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

The EXACT function in Gnumeric is used for this task: Specifies whether two texts are identical. Compare case-sensitive text values.

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: Documented by 1.12.62; original introduction not established.
  • 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

=EXACT(string1,string2)

Both string arguments are required. EXACT returns a Boolean TRUE or FALSE according to Gnumeric’s string comparison. Ordinary letter case matters: Calc and calc are not equal. It compares string values, not cell color, font, number format or whether two formulas have the same source text. There are no optional tolerance or case-insensitivity arguments.

Worked example

=EXACT("Calc","calc")

Expected result: FALSE.

Why it works: Compare case-sensitive text values.

Equality checks that reveal differences

Formula Expected result
=EXACT("Calc","calc") FALSE
=EXACT("Calc","Calc") TRUE
=EXACT("A ","A") FALSE
=EXACT("","") TRUE

The original case-sensitive example is preserved. The trailing space in A-space is a real character, so it differs from A. Two empty strings compare equal in this fixture. The outputs are Boolean values, not quoted words, and can be used by subsequent logical expressions.

For a synthetic code check, put AB-007, CD-125 and EF-900 in A2:A4. Put AB-007, cd-125 and EF-900 followed by one space in B2:B4. =EXACT(A2,B2) filled down is expected to produce TRUE, FALSE, FALSE. This tests case and a trailing space separately instead of concealing both differences in one row.

Advanced use: compare before normalizing

A validation workflow can compare raw inputs first, then compare deliberately cleaned or case-normalized versions in separate columns. That distinguishes an exact match from a match that required cleanup. Do not silently normalize identifiers whose case or whitespace is significant.

If two cells look identical but EXACT disagrees, inspect lengths, leading/trailing spaces, and hidden characters. A useful diagnostic does not imply that every invisible character should be removed. Keep the original values so a mistaken cleanup can be reversed.

The function delegates to Gnumeric’s string-comparison helper. This guide does not claim universal byte-for-byte identity or certify every Unicode normalization form. The bounded native cases establish ordinary ASCII case, space and empty-string behavior; visually equivalent composed/decomposed Unicode text requires a separate test before relying on a stronger guarantee.

Common problems and practical checks

  • Different formatting alone does not establish different string values. EXACT is not a visual-cell comparison tool.
  • Matching formulas are a separate question from matching their returned text. Compare the intended values, not assumptions about formula identity.
  • A trailing space can make the comparison FALSE even if it is hard to see in the grid.
  • Do not substitute a case-insensitive comparison if case-sensitive validation is the requirement.
  • Text and number coercion outside these explicit string fixtures is not broadly certified here. Convert or validate types deliberately when importing codes.
  • NEWS records an EXACT fix in 1.11.2 and earlier text-function fixes in 0.65; neither entry establishes its original introduction.

Documentation and verification