Contact

ISTEXT Function (Gnumeric)

Information Beginner Gnumeric

Check stored text types in Gnumeric with ISTEXT, numeric-looking strings, empty strings, blank cells and errors.

Verification status: Fresh bounded Gnumeric 1.12.57 source and ssconvert verification; separate primary-example GUI capture below. How formula examples are checked

Exact syntax

=ISTEXT(value)

ISTEXT returns TRUE when its one required argument is a text value and FALSE otherwise. It tests the stored value type rather than whether the cell looks like text or whether arithmetic could convert its contents into a number. The result is a logical value, not the quoted word “TRUE”.

The preserved formula =ISTEXT("hello") returns TRUE. The quoted numeric-looking string =ISTEXT("123") also returns TRUE, whereas =ISTEXT(123) returns FALSE. A date created by DATE is numeric internally, so it returns FALSE even when its number format displays a readable date.

Blank versus empty string

=ISTEXT("") returns TRUE because the zero-length string is still text. In the recorded worksheet B1 is genuinely empty and =ISTEXT(B1) returns FALSE. A formula that displays nothing by returning an empty string is therefore not equivalent to an unused cell. This distinction matters when counting populated fields or validating imports.

Advanced application: protect text identifiers

For an imported identifier column A2:A20, put =ISTEXT(A2) in B2 and fill down. TRUE identifies values stored as text, which may be appropriate for codes with leading zeros. It does not prove that every code has the right length, contains only digits, or meets a business rule. Combine a type check with separate content validation and retain the original data before attempting conversions.

A numeric cell with a custom format that displays leading zeros remains numeric; its appearance does not turn it into text. Conversely a text value containing digits is not automatically invalid. Decide which type the receiving system expects rather than using ISTEXT as a blanket data-quality verdict.

Errors and logical values

The fixtures =ISTEXT(TRUE()) and =ISTEXT(NA()) both return FALSE. ISTEXT does not classify a logical value or an error as text. In particular the error fixture demonstrates that this type test can return a boolean instead of propagating that argument’s #N/A value. It is not an error-detection function: FALSE also covers numbers, dates and blank cells, so use a dedicated error check if that is the question.

A formula’s result is what ISTEXT inspects, not the characters of the formula expression. Applying a text display format to an already stored number is not a reliable conversion operation. Verify the value after any import or edit, and distinguish true blanks from formulas returning empty strings.

Recorded native examples

  • =ISTEXT("hello") → TRUE
  • =ISTEXT("123") → TRUE
  • =ISTEXT(123) → FALSE
  • =ISTEXT("") → TRUE
  • =ISTEXT(B1) → FALSE
  • =ISTEXT(TRUE()) → FALSE
  • =ISTEXT(NA()) → FALSE
  • =ISTEXT(DATE(2025,1,15)) → FALSE

Availability, portability and verification

Original introduction and last functioning release are not established. The exact cases above were freshly recalculated in Gnumeric 1.12.57 on 17 October 2026; the matching official source was retrieved and inspected. Input formulas, output cells and file hashes were independently checked against explicit calendar, time or type expectations. These records are native engine evidence; a separate primary-example GUI capture appears below. No execution of a later Gnumeric version is claimed.

The retained historical registration check documented availability in Gnumeric 1.12.62 on 14 October 2026, for desktop installations with the fn-info module included and enabled. This is registration evidence, not a fresh inspection of 1.12.62 implementation source or an execution of that version. The earlier comparable LibreOffice Calc 25.2 example is historical cross-program context. Ordinary meanings may match across spreadsheets, while date systems, text conversion, locales and edge cases can differ. Confirm the receiving workbook rather than assuming identical behavior solely from a shared function name.

Official sources

Native application screenshot

Gnumeric ISTEXT primary example formula and result in selected cell H1

Gnumeric 1.12.57, captured 17 October 2026. The selected H1 cell shows the primary example result, with its formula in the formula bar. The literal inputs are visible in the formula bar. The GUI locale was not independently recorded.